You are here

public static property StyleSerializerKernelTest::$testViews in Drupal 10

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

Class

StyleSerializerKernelTest
@coversDefaultClass \Drupal\rest\Plugin\views\style\Serializer @group views

Namespace

Drupal\Tests\rest\Kernel\Views

Code

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