You are here

protected function ThemeResetTest::setUp in Media Library Theme Reset 8

Overrides BrowserTestBase::setUp

File

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

Class

ThemeResetTest
Tests that the module styles are appended to media library.

Namespace

Drupal\Tests\media_library_theme_reset\FunctionalJavascript

Code

protected function setUp() {
  parent::setUp();
  $account = $this
    ->drupalCreateUser([
    'administer content types',
    'administer node display',
    'create media',
    'view media',
    'configure any layout',
    'create and edit custom blocks',
    'access content',
  ]);
  $this
    ->drupalLogin($account);
}