Skip to content

Commit

Permalink
Remove a test
Browse files Browse the repository at this point in the history
  • Loading branch information
laurensWe committed Nov 7, 2024
1 parent a5be8f6 commit 2f3f32f
Showing 1 changed file with 0 additions and 15 deletions.
15 changes: 0 additions & 15 deletions tests/api/routes/test_project.py
Original file line number Diff line number Diff line change
Expand Up @@ -501,18 +501,3 @@ async def test_update_measure_value(client: AsyncClient, mocker: MockFixture, db
)
assert response.status_code == 200
assert response.headers["content-type"] == "text/html; charset=utf-8"

# requirement with two measures
_ = await client.post(
"/algorithm-system/1/measure/urn:nl:ak:mtr:gov-01",
json={"measure_update": MeasureUpdate(measure_state="done", measure_value="something").model_dump()},
headers={"X-CSRF-Token": "1"},
)
response = await client.post(
"/algorithm-system/1/measure/urn:nl:ak:mtr:gov-02",
json={"measure_update": MeasureUpdate(measure_state="done", measure_value="something").model_dump()},
headers={"X-CSRF-Token": "1"},
)

assert response.status_code == 200
assert response.headers["content-type"] == "text/html; charset=utf-8"

0 comments on commit 2f3f32f

Please sign in to comment.