You are here

protected function EntityQueueFormWidgetSimpleQueueTest::setUp in Entityqueue Form Widget 8

Same name and namespace in other branches
  1. 2.0.x tests/src/FunctionalJavascript/EntityQueueFormWidgetSimpleQueueTest.php \Drupal\Tests\entityqueue_form_widget\FunctionalJavascript\EntityQueueFormWidgetSimpleQueueTest::setUp()

Overrides BrowserTestBase::setUp

File

tests/src/FunctionalJavascript/EntityQueueFormWidgetSimpleQueueTest.php, line 48

Class

EntityQueueFormWidgetSimpleQueueTest
Tests the UI for Entity Queue Form Widget with Simple Queue.

Namespace

Drupal\Tests\entityqueue_form_widget\FunctionalJavascript

Code

protected function setUp() {
  parent::setUp();
  $permissions = [
    'view the administration theme',
    'administer nodes',
    'create test_content content',
    'edit any test_content content',
    'manipulate all entityqueues',
  ];
  $this->webUser = $this
    ->drupalCreateUser($permissions);
  $this
    ->drupalLogin($this->webUser);
}