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 in other branches
  1. 8.9.x core/modules/rest/tests/src/Kernel/Views/StyleSerializerKernelTest.php \Drupal\Tests\rest\Kernel\Views\StyleSerializerKernelTest::setUp()
  2. 10 core/modules/rest/tests/src/Kernel/Views/StyleSerializerKernelTest.php \Drupal\Tests\rest\Kernel\Views\StyleSerializerKernelTest::setUp()
  3. 11.x core/modules/rest/tests/src/Kernel/Views/StyleSerializerKernelTest.php \Drupal\Tests\rest\Kernel\Views\StyleSerializerKernelTest::setUp()

Overrides ViewsKernelTestBase::setUp

File

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

Class

StyleSerializerKernelTest
@coversDefaultClass \Drupal\rest\Plugin\views\style\Serializer @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.