function ConfigEntityResourceTestBase::setUp

Same name in this branch
  1. 11.x core/modules/rest/tests/src/Functional/EntityResource/ConfigEntityResourceTestBase.php \Drupal\Tests\rest\Functional\EntityResource\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. 10 core/modules/jsonapi/tests/src/Functional/ConfigEntityResourceTestBase.php \Drupal\Tests\jsonapi\Functional\ConfigEntityResourceTestBase::setUp()
  4. 10 core/modules/rest/tests/src/Functional/EntityResource/ConfigEntityResourceTestBase.php \Drupal\Tests\rest\Functional\EntityResource\ConfigEntityResourceTestBase::setUp()

Overrides ResourceTestBase::setUp

File

core/modules/jsonapi/tests/src/Functional/ConfigEntityResourceTestBase.php, line 31

Class

ConfigEntityResourceTestBase
Resource test base class for config entities.

Namespace

Drupal\Tests\jsonapi\Functional

Code

public 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.