You are here

protected function Select2BefTests::setUp in Select2 Boxes 8

Overrides Select2BoxesTestsBase::setUp

File

modules/select2_bef/tests/src/FunctionalJavascript/Select2BefTests.php, line 51

Class

Select2BefTests
Class for testing Select2Bef.

Namespace

Drupal\Tests\select2_bef\FunctionalJavascript

Code

protected function setUp() {
  parent::setUp();
  $select2befTestUser = $this
    ->createUser([
    'create select2boxes_test_content_type content',
    'edit own select2boxes_test_content_type content',
    'administer node form display',
    'administer site configuration',
    'administer node fields',
    'administer views',
  ]);
  $this
    ->drupalLogin($select2befTestUser);
  $this
    ->drupalLogin($this->rootUser);
}