TaxonomyEntityIndexTestBase.php in Taxonomy Entity Index 8
File
tests/src/Functional/Views/TaxonomyEntityIndexTestBase.php
View source
<?php
namespace Drupal\Tests\taxonomy_entity_index\Functional\Views;
use Drupal\Tests\taxonomy\Functional\Views\TaxonomyTestBase;
use Drupal\views\Tests\ViewTestData;
abstract class TaxonomyEntityIndexTestBase extends TaxonomyTestBase {
public static $modules = [
'taxonomy',
'taxonomy_entity_index',
'taxonomy_entity_index_test_views',
];
protected function setUp($import_test_views = TRUE) {
parent::setUp($import_test_views);
if ($import_test_views) {
ViewTestData::createTestViews(get_class($this), [
'taxonomy_entity_index_test_views',
]);
}
}
}