From 54ef8efb760fdacb3eca01e7b786b51bd8c578cd Mon Sep 17 00:00:00 2001 From: Salah Aldeen Al Saleh Date: Fri, 15 Nov 2024 09:48:29 -0800 Subject: [PATCH] fix expected response code in test --- pkg/handlers/session_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/handlers/session_test.go b/pkg/handlers/session_test.go index 4edd4843bf..ffcceea41d 100644 --- a/pkg/handlers/session_test.go +++ b/pkg/handlers/session_test.go @@ -400,7 +400,7 @@ func Test_requireValidSession_FailedToFetchPasswordUpdated_AfterSessionIssuedErr req.Error(err) req.Equal("failed to fetch password updatedAt", err.Error()) req.Equal(want, got) - req.Equal(401, w.Code) + req.Equal(500, w.Code) } func Test_requireValidSession_PasswordUpdated_AfterSessionIssuedErr(t *testing.T) {