Skip to content

Commit

Permalink
Rename thingauthclient
Browse files Browse the repository at this point in the history
Signed-off-by: nyagamunene <[email protected]>
  • Loading branch information
nyagamunene committed Aug 12, 2024
1 parent ec356c5 commit 0928b17
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions bootstrap/events/producer/streams_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
4 changes: 2 additions & 2 deletions bootstrap/service_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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()

Expand Down

0 comments on commit 0928b17

Please sign in to comment.