Skip to content

Commit

Permalink
Fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
sverhoeven committed Feb 1, 2024
1 parent c0f613f commit 0f0d8ab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/web/test_job.py
Original file line number Diff line number Diff line change
Expand Up @@ -780,7 +780,7 @@ async def test_rename_job_name(
mock_ok_job: int,
) -> None:
url = fastapi_app.url_path_for("rename_job_name", jobid=str(mock_ok_job))
response = await client.post(url, headers=auth_headers, params={"name": "newname"})
response = await client.post(url, headers=auth_headers, json="newname")

assert response.status_code == status.HTTP_200_OK

Expand Down

0 comments on commit 0f0d8ab

Please sign in to comment.