Skip to content

Commit

Permalink
🐛 fix (test.services): Fixed a type check for the new service constru…
Browse files Browse the repository at this point in the history
…ctor that returns a pointer
  • Loading branch information
kevinmarquesp committed Jul 31, 2024
1 parent baab0a2 commit c983ce3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/services/service_authentication_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ func TestNewGopostrAuthentication(t *testing.T) {
mockUserRepo := MockedUserRepository{}
authenticationService := services.NewGopostrAuthenticationService(mockUserRepo)

assert.IsType(t, services.GopostrAuthenticationService{}, authenticationService)
assert.IsType(t, &services.GopostrAuthenticationService{}, authenticationService)
}

func TestAuthenticateWithCredentials(t *testing.T) {
Expand Down

0 comments on commit c983ce3

Please sign in to comment.