You are here

public function ImportAccessTest::setUp in Bibliography & Citation 8

Same name and namespace in other branches
  1. 2.0.x modules/bibcite_import/tests/src/Functional/ImportAccessTest.php \Drupal\Tests\bibcite_import\Functional\ImportAccessTest::setUp()

Overrides BrowserTestBase::setUp

File

modules/bibcite_import/tests/src/Functional/ImportAccessTest.php, line 38

Class

ImportAccessTest
Test access to import form.

Namespace

Drupal\Tests\bibcite_import\Functional

Code

public function setUp() {
  parent::setUp();
  $this->user = $this
    ->drupalCreateUser([
    'create bibcite_reference',
    'edit own bibcite_reference',
    'edit any bibcite_reference',
    'view bibcite_reference',
    'administer bibcite',
  ]);
}