Skip to content

Commit

Permalink
Update URL to test the right endpoint
Browse files Browse the repository at this point in the history
Co-authored-by: Krystle Salazar <krystle.salazar@automattic.com>
  • Loading branch information
dhruvkb and krysal authored Oct 12, 2023
1 parent 65604e1 commit 646d5c8
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions api/test/test_auth.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 646d5c8

Please sign in to comment.