You are here

protected function ConfigEntityResourceTestBase::setUp in Drupal 10

Same name in this branch
  1. 10 core/modules/jsonapi/tests/src/Functional/ConfigEntityResourceTestBase.php \Drupal\Tests\jsonapi\Functional\ConfigEntityResourceTestBase::setUp()
  2. 10 core/modules/rest/tests/src/Functional/EntityResource/ConfigEntityResourceTestBase.php \Drupal\Tests\rest\Functional\EntityResource\ConfigEntityResourceTestBase::setUp()

Overrides EntityResourceTestBase::setUp

File

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

Class

ConfigEntityResourceTestBase
Resource test base class for config entities.

Namespace

Drupal\Tests\rest\Functional\EntityResource

Code

protected function setUp() : void {
  if (in_array($this
    ->getName(), static::SKIP_METHODS, TRUE)) {

    // Skip before installing Drupal to prevent unnecessary use of resources.
    $this
      ->markTestSkipped("Not yet supported for config entities.");
  }
  parent::setUp();
}