Skip to content

Commit

Permalink
fix expected response code in test
Browse files Browse the repository at this point in the history
  • Loading branch information
sgalsaleh committed Nov 15, 2024
1 parent 695a7b3 commit 54ef8ef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/handlers/session_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 54ef8ef

Please sign in to comment.