From 6d726c8005d6dd537ca7112b22d12ad70156af74 Mon Sep 17 00:00:00 2001 From: Stefan Giehl Date: Thu, 22 Apr 2021 01:33:20 +0200 Subject: Use full segment data to rearchive segment (#17478) * Use full segment data to rearchive segment * fix test Co-authored-by: diosmosis --- plugins/SegmentEditor/tests/Integration/SegmentEditorTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugins/SegmentEditor/tests') diff --git a/plugins/SegmentEditor/tests/Integration/SegmentEditorTest.php b/plugins/SegmentEditor/tests/Integration/SegmentEditorTest.php index 09430ca9be..a8a2c5208d 100644 --- a/plugins/SegmentEditor/tests/Integration/SegmentEditorTest.php +++ b/plugins/SegmentEditor/tests/Integration/SegmentEditorTest.php @@ -165,7 +165,7 @@ class SegmentEditorTest extends IntegrationTestCase ); $this->assertReArchivesQueued([ - ['idSites' => [1], 'pluginName' => null, 'report' => null, 'segment' => $updatedSegment['definition'], 'startDate' => null], + ['idSites' => [1], 'pluginName' => null, 'report' => null, 'segment' => $updatedSegment['definition'], 'startDate' => Date::factory('2013-01-01 00:00:00')->getTimestamp()], ]); $newSegment = API::getInstance()->get($idSegment2); -- cgit v1.2.3