Skip to content

Commit 267da9d

Browse files
committed
Fix time issue in unittest
expiring in 0s -> always refresh
1 parent b82b877 commit 267da9d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

graphdatascience/tests/unit/test_aura_api.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -392,7 +392,7 @@ def test_auth_token(requests_mock: Mocker) -> None:
392392

393393
requests_mock.post(
394394
"https://api.neo4j.io/oauth/token",
395-
json={"access_token": "very_short_token", "expires_in": 1, "token_type": "Bearer"},
395+
json={"access_token": "very_short_token", "expires_in": 0, "token_type": "Bearer"},
396396
)
397397

398398
assert api._auth._auth_token() == "very_short_token"

0 commit comments

Comments
 (0)