diff --git a/tests/test_sources.py b/tests/test_sources.py index 515e326..7665d3f 100644 --- a/tests/test_sources.py +++ b/tests/test_sources.py @@ -110,7 +110,7 @@ def test_a_board_that_does_not_answer_or_is_unknown_is_refused( with pytest.raises(ValueError, match="did not answer"): sources.set_board(store, "", "greenhouse:gone", name="Gone") with pytest.raises(ValueError, match="host:slug"): - sources.set_board(store, "", "teamtailor:gone", name="Gone") + sources.set_board(store, "", "workday:gone", name="Gone") with pytest.raises(ValueError, match="needs a name"): sources.set_board(store, "nobody", "greenhouse:acme") with pytest.raises(ValueError, match="is not the company"): diff --git a/tests/test_web.py b/tests/test_web.py index 19287b6..883725e 100644 --- a/tests/test_web.py +++ b/tests/test_web.py @@ -1161,7 +1161,7 @@ def test_a_companys_board_is_set_replaced_and_detached( assert client.post("/api/companies/nope/board", json={"board": "lever:acme"}).status_code == 404 assert client.delete("/api/companies/nope/board").status_code == 404 - bad = client.post("/api/companies/acme/board", json={"board": "teamtailor:acme"}) + bad = client.post("/api/companies/acme/board", json={"board": "workday:acme"}) assert bad.status_code == 422 and "host:slug" in bad.json()["detail"]