function StyleSerializerKernelTest::setUp

Same name in other branches
  1. 9 core/modules/rest/tests/src/Kernel/Views/StyleSerializerKernelTest.php \Drupal\Tests\rest\Kernel\Views\StyleSerializerKernelTest::setUp()
  2. 9 core/modules/hal/tests/src/Kernel/rest/Views/StyleSerializerKernelTest.php \Drupal\Tests\hal\Kernel\rest\Views\StyleSerializerKernelTest::setUp()
  3. 8.9.x core/modules/rest/tests/src/Kernel/Views/StyleSerializerKernelTest.php \Drupal\Tests\rest\Kernel\Views\StyleSerializerKernelTest::setUp()
  4. 10 core/modules/rest/tests/src/Kernel/Views/StyleSerializerKernelTest.php \Drupal\Tests\rest\Kernel\Views\StyleSerializerKernelTest::setUp()

Overrides ViewsKernelTestBase::setUp

File

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

Class

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

Namespace

Drupal\Tests\rest\Kernel\Views

Code

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

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