Skip to content

Commit

Permalink
chore: remove deprecation warning in IO tests
Browse files Browse the repository at this point in the history
  • Loading branch information
wolfgangwalther committed Dec 22, 2024
1 parent f5f64ac commit 07d6d75
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/io/test_io.py
Original file line number Diff line number Diff line change
Expand Up @@ -216,7 +216,7 @@ def test_iat_claim(defaultenv):

env = {**defaultenv, "PGRST_JWT_SECRET": SECRET}

claim = {"role": "postgrest_test_author", "iat": datetime.utcnow()}
claim = {"role": "postgrest_test_author", "iat": datetime.now(timezone.utc)}
headers = jwtauthheader(claim, SECRET)

with run(env=env) as postgrest:
Expand Down

0 comments on commit 07d6d75

Please sign in to comment.