Loading core/modules/taxonomy/tests/src/Functional/Views/TaxonomyTermFilterDepthTest.php +8 −0 Changes for core/modules/taxonomy/tests/src/Functional/Views/TaxonomyTermFilterDepthTest.php: 8 added lines, 0 removed lines. Original line number Diff line number Diff line Loading @@ -70,6 +70,14 @@ protected function setUp($import_test_views = TRUE): void { $this->terms[2] = $third; $this->view = Views::getView('test_filter_taxonomy_index_tid_depth'); // Fix the created date to match the expectations of the order by in the // view. Node 1 should be the most recent node and node 6 should be the // oldest. $time = \Drupal::time(); foreach ($this->nodes as $i => $node) { $node->setCreatedTime($time->getRequestTime() - $i)->save(); } } /** Loading Loading
core/modules/taxonomy/tests/src/Functional/Views/TaxonomyTermFilterDepthTest.php +8 −0 Changes for core/modules/taxonomy/tests/src/Functional/Views/TaxonomyTermFilterDepthTest.php: 8 added lines, 0 removed lines. Original line number Diff line number Diff line Loading @@ -70,6 +70,14 @@ protected function setUp($import_test_views = TRUE): void { $this->terms[2] = $third; $this->view = Views::getView('test_filter_taxonomy_index_tid_depth'); // Fix the created date to match the expectations of the order by in the // view. Node 1 should be the most recent node and node 6 should be the // oldest. $time = \Drupal::time(); foreach ($this->nodes as $i => $node) { $node->setCreatedTime($time->getRequestTime() - $i)->save(); } } /** Loading