function CommentExtrasTest::setUp

Same name in other branches
  1. 11.x core/modules/jsonapi/tests/src/Functional/CommentExtrasTest.php \Drupal\Tests\jsonapi\Functional\CommentExtrasTest::setUp()

Overrides ResourceTestBase::setUp

File

core/modules/jsonapi/tests/src/Functional/CommentExtrasTest.php, line 19

Class

CommentExtrasTest
JSON:API integration test for the "Comment" content entity type.

Namespace

Drupal\Tests\jsonapi\Functional

Code

public function setUp() : void {
    // Don't run any test methods from CommentTest because those will get run
    // for CommentTest itself.
    if (method_exists(parent::class, $this->name())) {
        $this->markTestSkipped();
    }
    parent::setUp();
}

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