diff --git a/core/modules/views/tests/src/Kernel/Handler/FilterNumericTest.php b/core/modules/views/tests/src/Kernel/Handler/FilterNumericTest.php index 088a209..ca15879 100644 --- a/core/modules/views/tests/src/Kernel/Handler/FilterNumericTest.php +++ b/core/modules/views/tests/src/Kernel/Handler/FilterNumericTest.php @@ -219,7 +219,7 @@ public function testFilterNumericRegularExpression() { $view = Views::getView('test_view'); $view->setDisplay(); - // Change the filtering + // Filtering by regular expression pattern. $view->displayHandlers->get('default')->overrideOption('filters', array( 'age' => array( 'id' => 'age', @@ -257,7 +257,6 @@ public function testFilterNumericExposedGroupedRegularExpression() { $view->setDisplay('page_1'); $view->displayHandlers->get('page_1')->overrideOption('filters', $filters); $view->save(); - $this->container->get('router.builder')->rebuild(); $this->executeView($view); $resultset = array(