diff --git a/backend/src/tests/test_toilets.py b/backend/src/tests/test_toilets.py index 89f71a5..29d9f06 100644 --- a/backend/src/tests/test_toilets.py +++ b/backend/src/tests/test_toilets.py @@ -75,8 +75,6 @@ def test_no_toilets(client, location, status_code): # pylint: disable=redefin "location,status_code", [ ([45.7576485, 4.8330241], 200), # Lyon, Bellecour. - ([40.768502, -73.958408], 200), # New York, Upper East Side. - ([53.482864, -2.2411116], 200), # Manchester, centre. ([-6.913795, 107.60278], 200), # Bandung, train station ([-22.970140, -43.18181], 200), # Rio de Janeiro, Copacabana ] @@ -92,7 +90,8 @@ def test_toilets(client, location, status_code): # pylint: disable=redefined- response = client.post( "/toilets/new", params={ - "location": location + "location": location, + "radius" : 600 } ) toilets_list = [Toilets.model_validate(toilet) for toilet in response.json()]