diff --git a/core/modules/views/lib/Drupal/views/Tests/Handler/FilterStringTest.php b/core/modules/views/lib/Drupal/views/Tests/Handler/FilterStringTest.php index 3704aea..6c212c2 100644 --- a/core/modules/views/lib/Drupal/views/Tests/Handler/FilterStringTest.php +++ b/core/modules/views/lib/Drupal/views/Tests/Handler/FilterStringTest.php @@ -68,6 +68,11 @@ protected function dataSet() { return $dataset; } + /** + * Build and return a Page view of the views_test_data table. + * + * @return view + */ protected function getBasicPageView() { $view = views_get_view('test_view'); diff --git a/core/modules/views/lib/Drupal/views/Tests/ViewTestBase.php b/core/modules/views/lib/Drupal/views/Tests/ViewTestBase.php index b2f1925..02c86f5 100644 --- a/core/modules/views/lib/Drupal/views/Tests/ViewTestBase.php +++ b/core/modules/views/lib/Drupal/views/Tests/ViewTestBase.php @@ -164,22 +164,6 @@ protected function executeView($view, $args = array()) { } /** - * Build and return a Page view of the views_test_data table. - * - * @return view - */ - protected function getBasicPageView() { - $view = $this->getView(); - - // In order to test exposed filters, we have to disable - // the exposed forms cache. - drupal_static_reset('views_exposed_form_cache'); - - $display = $view->storage->newDisplay('page', 'Page', 'page_1'); - return $view; - } - - /** * The schema definition. */ protected function schemaDefinition() {