From 0928b1759db6f30162885aa1ab419037574e1d8e Mon Sep 17 00:00:00 2001 From: nyagamunene Date: Sun, 11 Aug 2024 17:46:40 +0300 Subject: [PATCH] Rename thingauthclient Signed-off-by: nyagamunene --- bootstrap/events/producer/streams_test.go | 4 ++-- bootstrap/service_test.go | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/bootstrap/events/producer/streams_test.go b/bootstrap/events/producer/streams_test.go index b48cee6196..4ae6a2f298 100644 --- a/bootstrap/events/producer/streams_test.go +++ b/bootstrap/events/producer/streams_test.go @@ -85,10 +85,10 @@ var ( } ) -func newService(t *testing.T, url string) (bootstrap.Service, *mocks.ConfigRepository, *authmocks.AuthClient, *tauthmocks.ThingsAuthClient, *sdkmocks.SDK) { +func newService(t *testing.T, url string) (bootstrap.Service, *mocks.ConfigRepository, *authmocks.AuthClient, *tauthmocks.AuthzClient, *sdkmocks.SDK) { boot := new(mocks.ConfigRepository) auth := new(authmocks.AuthClient) - tauth := new(tauthmocks.ThingsAuthClient) + tauth := new(tauthmocks.AuthzClient) sdk := new(sdkmocks.SDK) idp := uuid.NewMock() svc := bootstrap.New(auth, tauth, boot, sdk, encKey, idp) diff --git a/bootstrap/service_test.go b/bootstrap/service_test.go index 66c515e158..2986d2d453 100644 --- a/bootstrap/service_test.go +++ b/bootstrap/service_test.go @@ -63,10 +63,10 @@ var ( } ) -func newService() (bootstrap.Service, *mocks.ConfigRepository, *authmocks.AuthClient, *tauthmocks.ThingsAuthClient, *sdkmocks.SDK) { +func newService() (bootstrap.Service, *mocks.ConfigRepository, *authmocks.AuthClient, *tauthmocks.AuthzClient, *sdkmocks.SDK) { boot := new(mocks.ConfigRepository) auth := new(authmocks.AuthClient) - tauth := new(tauthmocks.ThingsAuthClient) + tauth := new(tauthmocks.AuthzClient) sdk := new(sdkmocks.SDK) idp := uuid.NewMock()