function StyleSerializerKernelTest::setUp

Same name in this branch
  1. 9 core/modules/rest/tests/src/Kernel/Views/StyleSerializerKernelTest.php \Drupal\Tests\rest\Kernel\Views\StyleSerializerKernelTest::setUp()
Same name and namespace in other branches
  1. 11.x core/modules/rest/tests/src/Kernel/Views/StyleSerializerKernelTest.php \Drupal\Tests\rest\Kernel\Views\StyleSerializerKernelTest::setUp()

File

core/modules/hal/tests/src/Kernel/rest/Views/StyleSerializerKernelTest.php, line 29

Class

StyleSerializerKernelTest
@coversDefaultClass \Drupal\rest\Plugin\views\style\Serializer[[api-linebreak]] @group hal @group legacy

Namespace

Drupal\Tests\hal\Kernel\rest\Views

Code

protected function setUp($import_test_views = TRUE) : void {
  parent::setUp($import_test_views);
  ViewTestData::createTestViews(static::class, [
    'hal_test_views',
  ]);
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.