diff options
author | Frederick Muriuki Muriithi | 2023-08-07 12:17:08 +0300 |
---|---|---|
committer | Frederick Muriuki Muriithi | 2023-08-07 12:29:09 +0300 |
commit | 91061a7b4af2aaa7c7c97d0cd215a0dc28a42419 (patch) | |
tree | 59ae52f8ebebb86ec3917ad387d9b7d136480dcc /tests/unit/auth | |
parent | af9ab012a3763e3046d8c42a8af8fd5c06e3df04 (diff) | |
download | gn-auth-91061a7b4af2aaa7c7c97d0cd215a0dc28a42419.tar.gz |
Fix tests
Diffstat (limited to 'tests/unit/auth')
-rw-r--r-- | tests/unit/auth/test_token.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/unit/auth/test_token.py b/tests/unit/auth/test_token.py index f66954f..971e4de 100644 --- a/tests/unit/auth/test_token.py +++ b/tests/unit/auth/test_token.py @@ -53,7 +53,7 @@ def test_token(fxtr_app, fxtr_oauth2_clients, test_data, expected): "username": email, "password": password} with fxtr_app.test_client() as client, db.cursor(conn) as cursor: - res = client.post("/api/oauth2/token", data=data) + res = client.post("/auth/token", data=data) # cleanup db cursor.execute("DELETE FROM oauth2_tokens WHERE access_token=?", (gen_token(None, None, None, None),)) |