diff --git a/core/modules/taxonomy/src/Tests/Views/TaxonomyFieldAllTermsTest.php b/core/modules/taxonomy/src/Tests/Views/TaxonomyFieldAllTermsTest.php index b7d8e70..a78144f 100644 --- a/core/modules/taxonomy/src/Tests/Views/TaxonomyFieldAllTermsTest.php +++ b/core/modules/taxonomy/src/Tests/Views/TaxonomyFieldAllTermsTest.php @@ -22,7 +22,23 @@ class TaxonomyFieldAllTermsTest extends TaxonomyTestBase { * * @var array */ - public static $testViews = array('taxonomy_all_terms_test'); + public static $testViews = array('taxonomy_all_terms_test', 'test_page_display'); + + /** + * Modules to enable. + * + * @var array + */ + public static $modules = array('views', 'theme_test'); + + /** + * {@inheritdoc} + */ + protected function setUp() { + parent::setUp(); + + $this->enableViewsTestModule(); + } /** * Tests the "all terms" field handler. @@ -85,7 +101,7 @@ public function testViewsHandlerAllTermsWithTokens() { // The name for the vocabulary the term belongs to: {{ term_node_tid__vocabulary }} $vocabulary = Vocabulary::load($this->term1->bundle()); - $this->assertText('The name for the vocabulary the term belongs to: ' . $vocabulary->label()); + $this->assertText('The name for the vocabulary the term belongs to: ' . $vocabulary->label()); } } diff --git a/core/modules/views_ui/src/Tests/CustomBooleanTest.php b/core/modules/views_ui/src/Tests/CustomBooleanTest.php index 618079a..4e3a608 100644 --- a/core/modules/views_ui/src/Tests/CustomBooleanTest.php +++ b/core/modules/views_ui/src/Tests/CustomBooleanTest.php @@ -22,7 +22,7 @@ class CustomBooleanTest extends UITestBase { * * @var array */ - public static $testViews = array('test_view'); + public static $testViews = array('test_view', 'test_page_display'); /** * \Drupal\views\Tests\ViewTestBase::viewsData(). @@ -133,4 +133,3 @@ public function testCustomOptionWithTemplate() { } } -