Tweak check API path (#2714)

This commit is contained in:
Pascal Vizeli
2021-03-12 11:42:24 +01:00
committed by GitHub
parent 73849b7468
commit e30171746b
2 changed files with 3 additions and 5 deletions

View File

@@ -109,11 +109,11 @@ async def test_api_resolution_check_options(coresys: CoreSys, api_client):
assert free_space.enabled
await api_client.post(
f"/resolution/check/{free_space.slug}/options", json={"enabled": False}
f"/resolution/check/{free_space.slug}", json={"enabled": False}
)
assert not free_space.enabled
await api_client.post(
f"/resolution/check/{free_space.slug}/options", json={"enabled": True}
f"/resolution/check/{free_space.slug}", json={"enabled": True}
)
assert free_space.enabled