You are here

protected function LinkTypeAjaxTest::setUp in Flag 8.4

Same name in this branch
  1. 8.4 tests/src/Functional/LinkTypeAjaxTest.php \Drupal\Tests\flag\Functional\LinkTypeAjaxTest::setUp()
  2. 8.4 tests/src/FunctionalJavascript/LinkTypeAjaxTest.php \Drupal\Tests\flag\FunctionalJavascript\LinkTypeAjaxTest::setUp()

Overrides FlagTestBase::setUp

File

tests/src/Functional/LinkTypeAjaxTest.php, line 34

Class

LinkTypeAjaxTest
Tests the AJAX link type.

Namespace

Drupal\Tests\flag\Functional

Code

protected function setUp() {
  parent::setUp();

  // Create a node to flag.
  $this->node = $this
    ->drupalCreateNode([
    'type' => $this->nodeType,
  ]);
}