function ConfigEntityResourceTestBase::setUp

Same name in this branch
  1. 10 core/modules/jsonapi/tests/src/Functional/ConfigEntityResourceTestBase.php \Drupal\Tests\jsonapi\Functional\ConfigEntityResourceTestBase::setUp()
Same name in other branches
  1. 9 core/modules/jsonapi/tests/src/Functional/ConfigEntityResourceTestBase.php \Drupal\Tests\jsonapi\Functional\ConfigEntityResourceTestBase::setUp()
  2. 9 core/modules/rest/tests/src/Functional/EntityResource/ConfigEntityResourceTestBase.php \Drupal\Tests\rest\Functional\EntityResource\ConfigEntityResourceTestBase::setUp()
  3. 11.x core/modules/jsonapi/tests/src/Functional/ConfigEntityResourceTestBase.php \Drupal\Tests\jsonapi\Functional\ConfigEntityResourceTestBase::setUp()
  4. 11.x core/modules/rest/tests/src/Functional/EntityResource/ConfigEntityResourceTestBase.php \Drupal\Tests\rest\Functional\EntityResource\ConfigEntityResourceTestBase::setUp()

Overrides EntityResourceTestBase::setUp

3 calls to ConfigEntityResourceTestBase::setUp()
EntityTestDateOnlyTest::setUp in core/modules/datetime/tests/src/Functional/EntityResource/EntityTest/EntityTestDateOnlyTest.php
EntityTestDateRangeTest::setUp in core/modules/datetime_range/tests/src/Functional/EntityResource/EntityTest/EntityTestDateRangeTest.php
EntityTestDatetimeTest::setUp in core/modules/datetime/tests/src/Functional/EntityResource/EntityTest/EntityTestDatetimeTest.php
3 methods override ConfigEntityResourceTestBase::setUp()
EntityTestDateOnlyTest::setUp in core/modules/datetime/tests/src/Functional/EntityResource/EntityTest/EntityTestDateOnlyTest.php
EntityTestDateRangeTest::setUp in core/modules/datetime_range/tests/src/Functional/EntityResource/EntityTest/EntityTestDateRangeTest.php
EntityTestDatetimeTest::setUp in core/modules/datetime/tests/src/Functional/EntityResource/EntityTest/EntityTestDatetimeTest.php

File

core/modules/rest/tests/src/Functional/EntityResource/ConfigEntityResourceTestBase.php, line 24

Class

ConfigEntityResourceTestBase
Resource test base class for config entities.

Namespace

Drupal\Tests\rest\Functional\EntityResource

Code

protected function setUp() : void {
    if (in_array($this->name(), static::SKIP_METHODS, TRUE)) {
        // Skip before installing Drupal to prevent unnecessary use of resources.
        $this->markTestSkipped("Not yet supported for config entities.");
    }
    parent::setUp();
}

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