diff --git a/core/modules/datetime/src/Tests/Views/ArgumentDateTimeTest.php b/core/modules/datetime/src/Tests/Views/ArgumentDateTimeTest.php index 10202ec..d6e9115 100644 --- a/core/modules/datetime/src/Tests/Views/ArgumentDateTimeTest.php +++ b/core/modules/datetime/src/Tests/Views/ArgumentDateTimeTest.php @@ -32,7 +32,6 @@ public function setUp() { '2000-10-10', '2001-10-10', '2002-01-01', - format_date(REQUEST_TIME + 86400, 'custom', 'Y-m-d'), ); foreach ($dates as $date) { $this->nodes[] = $this->drupalCreateNode(array( @@ -99,9 +98,9 @@ public function testDatetimeArgumentMonth() { */ public function testDatetimeArgumentDay() { $view = Views::getView('test_argument_datetime'); + // The 'embed_2' display has the 'day' argument. $view->setDisplay('embed_2'); - $this->executeView($view, array('10')); $expected = array(); $expected[] = array('nid' => $this->nodes[0]->id());