You are here

protected function VapnFunctionalTest::setUp in View access per node 8

Overrides BrowserTestBase::setUp

File

tests/src/Functional/VapnFunctionalTest.php, line 33

Class

VapnFunctionalTest
Simple test to ensure the behavior of Vapn module

Namespace

Drupal\Tests\vapn\Functional

Code

protected function setUp() {
  parent::setUp();
  $permissions = [
    'administer site configuration',
    'access administration pages',
    'use vapn',
    'bypass node access',
  ];
  $this->user = $this
    ->drupalCreateUser($permissions);
  $this
    ->drupalLogin($this->user);
}