Skip to content

Commit

Permalink
for some reason CI tests do not like params, putting the query into U…
Browse files Browse the repository at this point in the history
…RL directly
  • Loading branch information
rambo committed Feb 26, 2024
1 parent 13d4f8e commit 8c0c97b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_enrollment.py
Original file line number Diff line number Diff line change
Expand Up @@ -531,7 +531,7 @@ async def test_enroll_with_invite_code( # pylint: disable=R0915
enrique_ac = resp_dict["approvecode"]

# list enrollments filter by code
resp = await tilauspalvelu_jwt_admin_client.get("/api/v1/enrollment/list", params={"code": enrique_ac})
resp = await tilauspalvelu_jwt_admin_client.get(f"/api/v1/enrollment/list?code={enrique_ac}")
resp_dict = resp.json()
assert resp_dict["callsign_list"] is not None
assert resp_dict["callsign_list"][0]["callsign"] == "enrollenrique"
Expand Down

0 comments on commit 8c0c97b

Please sign in to comment.