function GenericTest::setUp

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

Overrides BrowserTestBase::setUp

File

core/modules/node/tests/src/Functional/GenericTest.php, line 19

Class

GenericTest
Generic module test for node.

Namespace

Drupal\Tests\node\Functional

Code

protected function setUp() : void {
    // Ensure the generic test base is working as expected.
    $this->assertSame('node', $this->getModule());
    parent::setUp();
}

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