protected function LinkOwnershipAccessTest::setUp in Flag 8.4
Overrides FlagTestBase::setUp
File
- tests/
src/ Functional/ LinkOwnershipAccessTest.php, line 22
Class
- LinkOwnershipAccessTest
- Tests the current user sees links for their own flaggings, or global ones.
Namespace
Drupal\Tests\flag\FunctionalCode
protected function setUp() {
parent::setUp();
$this->entityTypeManager = $this->container
->get('entity_type.manager');
// Create a node to flag.
$this->node = $this
->drupalCreateNode([
'type' => $this->nodeType,
]);
}