chore: remove deprecation warning in IO tests

This commit is contained in:
Wolfgang Walther
2024-12-22 18:49:20 +01:00
parent f5f64ac7da
commit 07d6d75abe
+1 -1
View File
@@ -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: