You are here

protected function ResponsiveImageAdminUITest::setUp in Drupal 9

Same name and namespace in other branches
  1. 8 core/modules/responsive_image/tests/src/Functional/ResponsiveImageAdminUITest.php \Drupal\Tests\responsive_image\Functional\ResponsiveImageAdminUITest::setUp()

Overrides BrowserTestBase::setUp

File

core/modules/responsive_image/tests/src/Functional/ResponsiveImageAdminUITest.php, line 33

Class

ResponsiveImageAdminUITest
Thoroughly test the administrative interface of the Responsive Image module.

Namespace

Drupal\Tests\responsive_image\Functional

Code

protected function setUp() : void {
  parent::setUp();
  $this
    ->drupalLogin($this
    ->drupalCreateUser([
    'administer responsive images',
  ]));
}