Skip to content

Commit

Permalink
fix test's urls
Browse files Browse the repository at this point in the history
  • Loading branch information
jimbonothing64 committed Dec 11, 2023
1 parent d5f51a6 commit 0a03c3f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions api/test_main.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ def test_minimise_code():

def test_minimise_code_and_get_link():
response = client.post(
url="/minimise/",
url="/minimise/link/",
json={"code": SMALL_PROGRAM, "lang": "python3", "indentation": " "},
)
assert response.status_code == 200
Expand All @@ -55,7 +55,7 @@ def test_minimise_code_and_get_link():
}

response = client.post(
url="/minimise/",
url="/minimise/link/",
json={
"code": SMALL_PROGRAM,
"lang": "python3",
Expand Down

1 comment on commit 0a03c3f

@vercel
Copy link

@vercel vercel bot commented on 0a03c3f Dec 11, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.