From bb4e9981b3f5fea069c820ebe05a31a7896d01ac Mon Sep 17 00:00:00 2001 From: Lealefoulon Date: Wed, 20 Nov 2024 17:44:49 +0100 Subject: [PATCH 1/2] change commune en code postal --- translations/validators.fr.xlf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 From b565ab4763e219e13a170dacf32ee68f210ccb07 Mon Sep 17 00:00:00 2001 From: Lealefoulon Date: Thu, 21 Nov 2024 11:48:53 +0100 Subject: [PATCH 2/2] =?UTF-8?q?mise=20=C3=A0=20jour=20du=20test?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Regulation/Fragments/AddMeasureControllerTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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