From c983ce37b44c8d9288593e3f2c6d44780c989d5d Mon Sep 17 00:00:00 2001 From: Kevin Marques Date: Wed, 31 Jul 2024 12:05:21 -0300 Subject: [PATCH] :bug: fix (test.services): Fixed a type check for the new service constructor that returns a pointer --- test/services/service_authentication_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/services/service_authentication_test.go b/test/services/service_authentication_test.go index e6fc541..33d02e4 100644 --- a/test/services/service_authentication_test.go +++ b/test/services/service_authentication_test.go @@ -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) {