You are here

public static property ViewsPreprocessTest::$testViews in Drupal 9

Same name and namespace in other branches
  1. 8 core/modules/views/tests/src/Kernel/ViewsPreprocessTest.php \Drupal\Tests\views\Kernel\ViewsPreprocessTest::testViews

Views to be enabled.

Test classes should override this property and provide the list of testing views.

Type: array

Overrides ViewsKernelTestBase::$testViews

File

core/modules/views/tests/src/Kernel/ViewsPreprocessTest.php, line 18

Class

ViewsPreprocessTest
Tests the preprocessing functionality in views.theme.inc.

Namespace

Drupal\Tests\views\Kernel

Code

public static $testViews = [
  'test_preprocess',
];