From 8a665e90962df9b87e72504f9382bd859cea504b Mon Sep 17 00:00:00 2001 From: pookmish Date: Tue, 17 Sep 2024 09:51:24 -0700 Subject: [PATCH] Adjust codeception list test (#811) --- tests/codeception/acceptance/Paragraphs/ListsCest.php | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/tests/codeception/acceptance/Paragraphs/ListsCest.php b/tests/codeception/acceptance/Paragraphs/ListsCest.php index ce78b6492..2f73f0362 100644 --- a/tests/codeception/acceptance/Paragraphs/ListsCest.php +++ b/tests/codeception/acceptance/Paragraphs/ListsCest.php @@ -765,13 +765,14 @@ public function testListParagraphBasicPageTypesFilter(AcceptanceTester $I) { 'type' => 'stanford_page', 'title' => 'B' . $this->faker->text(15), 'su_basic_page_type' => $type_term->id(), + 'created' => time(), ]); $second_basic_page_entity = $I->createEntity([ 'type' => 'stanford_page', 'title' => 'A' . $this->faker->text(15), 'su_basic_page_type' => $type_term->id(), - 'created' => time() - 120, + 'created' => time() - 12000, ]); $I->amOnPage("/node/{$basic_page_entity->id()}/edit"); @@ -801,7 +802,7 @@ public function testListParagraphBasicPageTypesFilter(AcceptanceTester $I) { 'su_basic_page_type' => $type_term->id(), 'su_page_description' => $this->faker->text, 'layout_selection' => 'stanford_basic_page_full', - 'created' => time() - 1000, + 'created' => time() - 100000, ]); $I->amOnPage($layout_changed_page->toUrl('edit-form')->toString()); $I->click('Save'); @@ -873,6 +874,7 @@ protected function getNodeWithList(AcceptanceTester $I, array $view) { 'target_id' => $paragraph->id(), 'entity' => $paragraph, ], + 'created' => time(), ]); return $node;