ConfigEntityResourceTestBase.php in Drupal 10
File
core/modules/jsonapi/tests/src/Functional/ConfigEntityResourceTestBase.php
View source
<?php
namespace Drupal\Tests\jsonapi\Functional;
abstract class ConfigEntityResourceTestBase extends ResourceTestBase {
const SKIP_METHODS = [
'testRelated',
'testRelationships',
'testPostIndividual',
'testPatchIndividual',
'testDeleteIndividual',
'testRevisions',
];
public function setUp() : void {
if (in_array($this
->getName(), static::SKIP_METHODS, TRUE)) {
$this
->markTestSkipped("Not yet supported for config entities.");
}
parent::setUp();
}
}