diff --git a/db/seeds/GeneralMeetings.php b/db/seeds/GeneralMeetings.php index 6d887eaa3..9894ffdaf 100644 --- a/db/seeds/GeneralMeetings.php +++ b/db/seeds/GeneralMeetings.php @@ -52,12 +52,12 @@ public function run() // Assemblées générales Questions $data = [ [ - 'date' => 1635544800, + 'date' => $timestamp, 'label' => 'Une 1ère question. Alors d\'accord ?', 'created_at' => '2021-09-01 10:42:42' ], [ - 'date' => 1635544800, + 'date' => $timestamp, 'label' => 'Une autre question pertinente. On vote ?', 'created_at' => '2021-09-12 10:42:42' ], diff --git a/tests/behat/features/Admin/Members/GeneralMeeting/GeneralMeetingQuestions.feature b/tests/behat/features/Admin/Members/GeneralMeeting/GeneralMeetingQuestions.feature index 868e3fb9e..1d509ee64 100644 --- a/tests/behat/features/Admin/Members/GeneralMeeting/GeneralMeetingQuestions.feature +++ b/tests/behat/features/Admin/Members/GeneralMeeting/GeneralMeetingQuestions.feature @@ -12,7 +12,6 @@ Feature: Administration - Partie Assemblée Générale Questions And I follow "Assemblée générale - votes" When I follow "Ajouter" Then the ".content h2" element should contain "Assemblée générale - questions" - Then I should see "Assemblée générale du 30/10/2021" And I fill in "general_meeting_question_form[label]" with "Une super question" And I press "Ajouter cette question" Then I should see "La question a été ajoutée"