diff --git a/apptax/tests/test_taxref.py b/apptax/tests/test_taxref.py index 5d551db3..c69fba91 100644 --- a/apptax/tests/test_taxref.py +++ b/apptax/tests/test_taxref.py @@ -26,7 +26,7 @@ class TestAPITaxref: def test_get_allnamebyListe_routes(self): query_string = {"limit": 10} response = self.client.get( - url_for("taxref.get_AllTaxrefNameByListe", code_liste="100"), query_string=query_string + url_for("taxref.get_AllTaxrefNameByListe", id_liste="100"), query_string=query_string ) assert response.status_code == 200 data = response.json @@ -41,7 +41,7 @@ def test_get_allnamebyListe_routes_without_list(self): "group2_inpn": "Angiospermes", } response = self.client.get( - url_for("taxref.get_AllTaxrefNameByListe", code_liste=-1), query_string=query_string + url_for("taxref.get_AllTaxrefNameByListe", id_liste=-1), query_string=query_string ) assert response.status_code == 200 data = response.json