diff --git a/core/modules/views/lib/Drupal/views/Tests/DefaultViewsTest.php b/core/modules/views/lib/Drupal/views/Tests/DefaultViewsTest.php index 808958d..9f5c2f8 100644 --- a/core/modules/views/lib/Drupal/views/Tests/DefaultViewsTest.php +++ b/core/modules/views/lib/Drupal/views/Tests/DefaultViewsTest.php @@ -184,10 +184,12 @@ public function testArchiveView() { $view->setDisplay('page_1'); $this->executeView($view); $column_map = drupal_map_assoc(array('nid', 'created_year_month', 'num_records')); + // Create time of additional nodes created in the setup method + $created_year_month = date('Yd', time() - 3600); $expected_result = array( array( 'nid' => 1, - 'created_year_month' => 201305, + 'created_year_month' => $created_year_month, 'num_records' => 11, ), array(