You are here

public function LinkOwnershipAccessTest::testFlagOwnershipAccess in Flag 8.4

Test ownership access.

File

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

Class

LinkOwnershipAccessTest
Tests the current user sees links for their own flaggings, or global ones.

Namespace

Drupal\Tests\flag\Functional

Code

public function testFlagOwnershipAccess() {
  $this
    ->doFlagOwnershipAccessTest();
  $this
    ->doGlobalFlagOwnershipAccessTest();
}