You are here

public function ViewsAccessTest::setUp in Entity Print 8.2

Overrides KernelTestBase::setUp

File

modules/entity_print_views/tests/src/Kernel/ViewsAccessTest.php, line 36

Class

ViewsAccessTest
Views access test.

Namespace

Drupal\Tests\entity_print_views\Kernel

Code

public function setUp() : void {
  parent::setUp();
  $this
    ->installSchema('system', [
    'sequences',
    'key_value_expire',
  ]);
  $this
    ->installEntitySchema('user');
  $this
    ->installConfig('entity_print_views_test_views');

  // Discard user 1 which causes havoc with access tests.
  $this
    ->createUser();
}