From 264ba3bd1c8f7f4bcf3e434f54e20ddad08f0d45 Mon Sep 17 00:00:00 2001 From: Philip Ardery Date: Tue, 14 Apr 2020 16:28:56 -0700 Subject: [PATCH] updating src/Tests/ViewFieldUITest.php for drupal 9 compatibility --- src/Tests/ViewFieldUITest.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/Tests/ViewFieldUITest.php b/src/Tests/ViewFieldUITest.php index 40deb29..bc0dfbe 100644 --- a/src/Tests/ViewFieldUITest.php +++ b/src/Tests/ViewFieldUITest.php @@ -3,7 +3,7 @@ namespace Drupal\views_field_view\Tests; use Drupal\views\Tests\ViewTestData; -use Drupal\views_ui\Tests\UITestBase; +use Drupal\Tests\views_ui\Functional\UITestBase; /** * Tests the UI of views_field_view. @@ -38,8 +38,8 @@ class ViewFieldUITest extends UITestBase { /** * {@inheritdoc} */ - protected function setUp() { - parent::setUp(); + protected function setUp($import_test_views = TRUE) { + parent::setUp($import_test_views = TRUE); ViewTestData::createTestViews(get_class($this), ['views_field_view_test_config']); } -- 2.26.1