You are here

protected function EntityBrowserViewsWidgetTest::setUp in Entity Browser 8

Same name and namespace in other branches
  1. 8.2 tests/src/FunctionalJavascript/EntityBrowserViewsWidgetTest.php \Drupal\Tests\entity_browser\FunctionalJavascript\EntityBrowserViewsWidgetTest::setUp()

Overrides EntityBrowserWebDriverTestBase::setUp

File

tests/src/FunctionalJavascript/EntityBrowserViewsWidgetTest.php, line 33

Class

EntityBrowserViewsWidgetTest
Entity Browser views widget tests.

Namespace

Drupal\Tests\entity_browser\FunctionalJavascript

Code

protected function setUp() {
  parent::setUp();
  $user = $this
    ->drupalCreateUser([
    'access test_entity_browser_file entity browser pages',
    'access test_double_underscore entity browser pages',
    'bypass node access',
  ]);
  $this
    ->drupalLogin($user);
}