public static property RestExportTest::$testViews in Drupal 9
Same name and namespace in other branches
- 8 core/modules/rest/tests/src/Kernel/Views/RestExportTest.php \Drupal\Tests\rest\Kernel\Views\RestExportTest::testViews
- 10 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\ViewsCode
public static $testViews = [
'test_serializer_display_entity',
];