Skip to content

Commit 89e0553

Browse files
committed
fix: remove dead token variable in expired_token_does_not_fallback test
1 parent 9515fda commit 89e0553

1 file changed

Lines changed: 0 additions & 5 deletions

File tree

backend/tests/test_jwt_local_decode.py

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -213,11 +213,6 @@ def test_expired_token_does_not_fallback(self):
213213
from services.auth import SupabaseAuthService
214214
service = SupabaseAuthService()
215215

216-
token = _make_token(
217-
{"sub": "expired-user"},
218-
secret=JWT_SECRET,
219-
)
220-
# Manually create expired token
221216
expired_token = pyjwt.encode(
222217
{"sub": "expired-user", "aud": "authenticated",
223218
"exp": int(time.time()) - 120, "iat": int(time.time()) - 3720},

0 commit comments

Comments
 (0)