From 646d5c87dd700a1fc4c9bd0519af2f6179b6a8d7 Mon Sep 17 00:00:00 2001 From: Dhruv Bhanushali Date: Thu, 12 Oct 2023 04:02:34 +0000 Subject: [PATCH] Update URL to test the right endpoint Co-authored-by: Krystle Salazar --- api/test/test_auth.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/api/test/test_auth.py b/api/test/test_auth.py index 3478a41e7ca..c2dc6688a9e 100644 --- a/api/test/test_auth.py +++ b/api/test/test_auth.py @@ -53,10 +53,9 @@ def test_auth_token_exchange(client, test_auth_tokens_registration): @pytest.mark.django_db -@pytest.fixture def test_auth_token_exchange_unsupported_method(client): res = client.get( - "/v1/auth_tokens/register/", + "/v1/auth_tokens/token/", verify=False, ) assert res.status_code == 405