summaryrefslogtreecommitdiff
path: root/api/auth/auth_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'api/auth/auth_test.go')
-rw-r--r--api/auth/auth_test.go1
1 files changed, 0 insertions, 1 deletions
diff --git a/api/auth/auth_test.go b/api/auth/auth_test.go
index a3d5b16..5e67c6d 100644
--- a/api/auth/auth_test.go
+++ b/api/auth/auth_test.go
@@ -276,7 +276,6 @@ func TestRefreshUpdatesExpiration(t *testing.T) {
updatedSession, _ := database.GetSession(db, cookies["session"].Value)
- // if session expiration is greater than or equal to updated session expiration
if session.ExpireAt.After(updatedSession.ExpireAt) || session.ExpireAt.Equal(updatedSession.ExpireAt) {
t.Errorf("expected session expiration to be updated, got %s and %s", session.ExpireAt, updatedSession.ExpireAt)
}