Skip to content

Commit

Permalink
fix: failed test
Browse files Browse the repository at this point in the history
  • Loading branch information
Nitiwat-owen committed Dec 27, 2023
1 parent 572d34c commit 2538cc0
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/app/handler/auth/auth.handler_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ import (
mock_auth "github.com/isd-sgcu/johnjud-gateway/src/mocks/service/auth"
mock_user "github.com/isd-sgcu/johnjud-gateway/src/mocks/service/user"
mock_validator "github.com/isd-sgcu/johnjud-gateway/src/mocks/validator"
auth_proto "github.com/isd-sgcu/johnjud-go-proto/johnjud/auth/auth/v1"
"github.com/stretchr/testify/suite"
"net/http"
"testing"
Expand Down Expand Up @@ -145,7 +144,7 @@ func (t *AuthHandlerTest) TestSignupServiceError() {
}

func (t *AuthHandlerTest) TestSignInSuccess() {
signInResponse := &auth_proto.Credential{
signInResponse := &dto.Credential{
AccessToken: faker.Word(),
RefreshToken: faker.UUIDDigit(),
ExpiresIn: 3600,
Expand Down

0 comments on commit 2538cc0

Please sign in to comment.