From 3c727d1c650d064609db746e5db290fb14168ee8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Julien=20Fastr=C3=A9?= Date: Thu, 10 Jun 2021 10:52:37 +0200 Subject: [PATCH] fix format for date, after use of html5 date widget --- .../Tests/Controller/HouseholdMemberControllerTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Bundle/ChillPersonBundle/Tests/Controller/HouseholdMemberControllerTest.php b/src/Bundle/ChillPersonBundle/Tests/Controller/HouseholdMemberControllerTest.php index 183760241..97c08f88d 100644 --- a/src/Bundle/ChillPersonBundle/Tests/Controller/HouseholdMemberControllerTest.php +++ b/src/Bundle/ChillPersonBundle/Tests/Controller/HouseholdMemberControllerTest.php @@ -84,7 +84,7 @@ class HouseholdMemberControllerTest extends WebTestCase $form = $crawler->selectButton('Enregistrer') ->form(); $form['household_member[endDate]'] = (new \DateTime('tomorrow')) - ->format('d-m-Y'); + ->format('Y-m-d'); $crawler = $client->submit($form);