diff --git a/backend/handler/tests/cassettes/test_get_platform.yaml b/backend/handler/tests/cassettes/test_get_platform.yaml index 66b071004..bfa54cc67 100644 --- a/backend/handler/tests/cassettes/test_get_platform.yaml +++ b/backend/handler/tests/cassettes/test_get_platform.yaml @@ -70,7 +70,7 @@ interactions: code: 200 message: OK - request: - body: fields id, name; where slug="not_real"; + body: fields id, name; where slug="not-real"; headers: Accept: - application/json diff --git a/backend/handler/tests/test_igdb_handler.py b/backend/handler/tests/test_igdb_handler.py index 50efc2161..0f7947fbf 100644 --- a/backend/handler/tests/test_igdb_handler.py +++ b/backend/handler/tests/test_igdb_handler.py @@ -13,8 +13,8 @@ def test_get_platform(): assert platform["igdb_id"] == 4 assert platform["name"] == "Nintendo 64" - platform = igdbh.get_platform("not_real") - assert platform == {"igdb_id": None, "name": "not_real"} + platform = igdbh.get_platform("not-real") + assert platform == {"igdb_id": None, "name": "Not Real"} @pytest.mark.vcr()