From 597e40e6b155200e48525bf58804c2cea4296a95 Mon Sep 17 00:00:00 2001 From: NitiwatOwen Date: Thu, 4 Jan 2024 22:25:29 +0700 Subject: [PATCH] fix: unit test --- src/app/service/auth/auth.service_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app/service/auth/auth.service_test.go b/src/app/service/auth/auth.service_test.go index ec5a998..08fc0f9 100644 --- a/src/app/service/auth/auth.service_test.go +++ b/src/app/service/auth/auth.service_test.go @@ -586,7 +586,7 @@ func (t *AuthServiceTest) TestRefreshTokenUnknownError() { protoErr := errors.New("Unknown error") expected := &dto.ResponseErr{ - StatusCode: http.StatusBadRequest, + StatusCode: http.StatusInternalServerError, Message: constant.InternalErrorMessage, Data: nil, }