function CommentExtrasTest::setUp
Overrides ResourceTestBase::setUp
File
-
core/
modules/ jsonapi/ tests/ src/ Functional/ CommentExtrasTest.php, line 22
Class
- CommentExtrasTest
- JSON:API integration test for the "Comment" content entity type.
Namespace
Drupal\Tests\jsonapi\FunctionalCode
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.