You are here

protected function AccessTest::setUp in Flag 8.4

Overrides FlagKernelTestBase::setUp

File

tests/src/Kernel/AccessTest.php, line 23

Class

AccessTest
Tests related to access to flags.

Namespace

Drupal\Tests\flag\Kernel

Code

protected function setUp() {
  parent::setUp();
  $this
    ->installSchema('user', 'users_data', 'flag');

  // The first user is uid 1, create that to avoid that our test users
  // implicitly have all permissions even those that don't exist.
  $this
    ->createUser();
}