Skip to content

Commit 0b0a228

Browse files
committed
fix: one test with wrong position
1 parent f2e1704 commit 0b0a228

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/integration/test_elections.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -266,7 +266,7 @@ async def test_endpoints_admin(client, database_setup):
266266
assert response.status_code == 200
267267

268268
# update the registration
269-
response = await client.patch(f"/elections/registration/{election_name}/pkn4", json={
269+
await client.patch(f"/elections/registration/{election_name}/vice-president/pkn4", json={
270270
"position": "president",
271271
"speech": "Vote for me as treasurer"
272272
})

0 commit comments

Comments
 (0)