You are here

public 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()

File

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

Class

ConfigEntityResourceTestBase
Resource test base class for config entities.

Namespace

Drupal\Tests\jsonapi\Functional

Code

public 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();
}