diff --git a/tests/Integration/Infrastructure/Controller/Regulation/Fragments/AddMeasureControllerTest.php b/tests/Integration/Infrastructure/Controller/Regulation/Fragments/AddMeasureControllerTest.php index f9e198e79..279809fbe 100644 --- a/tests/Integration/Infrastructure/Controller/Regulation/Fragments/AddMeasureControllerTest.php +++ b/tests/Integration/Infrastructure/Controller/Regulation/Fragments/AddMeasureControllerTest.php @@ -55,7 +55,7 @@ public function testInvalidLaneBlankCityCode(): void $crawler = $client->request($form->getMethod(), $form->getUri(), $values, $form->getPhpFiles()); $this->assertResponseStatusCodeSame(422); - $this->assertSame('Veuillez choisir une ville ou commune parmi la liste.', $crawler->filter('#measure_form_locations_0_namedStreet_cityLabel_error')->text()); + $this->assertSame('Veuillez choisir une ville ou un code postal parmi la liste.', $crawler->filter('#measure_form_locations_0_namedStreet_cityLabel_error')->text()); } public function testInvalidDepartmentalRoad(): void diff --git a/translations/validators.fr.xlf b/translations/validators.fr.xlf index a303c8408..d646a0975 100644 --- a/translations/validators.fr.xlf +++ b/translations/validators.fr.xlf @@ -16,7 +16,7 @@ regulation.location.cityCode.error.blank - Veuillez choisir une ville ou commune parmi la liste. + Veuillez choisir une ville ou un code postal parmi la liste. regulation.location.error.abscissa_out_of_range