You are here

public static property RestExportTest::$testViews in Drupal 10

Same name and namespace in other branches
  1. 8 core/modules/rest/tests/src/Kernel/Views/RestExportTest.php \Drupal\Tests\rest\Kernel\Views\RestExportTest::testViews
  2. 9 core/modules/rest/tests/src/Kernel/Views/RestExportTest.php \Drupal\Tests\rest\Kernel\Views\RestExportTest::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/rest/tests/src/Kernel/Views/RestExportTest.php, line 22

Class

RestExportTest
Tests the REST export view display plugin.

Namespace

Drupal\Tests\rest\Kernel\Views

Code

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