protected function LinkTypeAjaxTest::setUp in Flag 8.4
Same name in this branch
- 8.4 tests/src/Functional/LinkTypeAjaxTest.php \Drupal\Tests\flag\Functional\LinkTypeAjaxTest::setUp()
- 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\FunctionalCode
protected function setUp() {
parent::setUp();
// Create a node to flag.
$this->node = $this
->drupalCreateNode([
'type' => $this->nodeType,
]);
}