function DevelBrowserTestBase::setUp

Same name in other branches
  1. 5.x tests/src/Functional/DevelBrowserTestBase.php \Drupal\Tests\devel\Functional\DevelBrowserTestBase::setUp()

Overrides BrowserTestBase::setUp

13 calls to DevelBrowserTestBase::setUp()
DevelContainerInfoTest::setUp in tests/src/Functional/DevelContainerInfoTest.php
DevelControllerTest::setUp in tests/src/Functional/DevelControllerTest.php
DevelDumperTest::setUp in tests/src/Functional/DevelDumperTest.php
DevelElementInfoTest::setUp in tests/src/Functional/DevelElementInfoTest.php
DevelEntityTypeInfoTest::setUp in tests/src/Functional/DevelEntityTypeInfoTest.php

... See full list

13 methods override DevelBrowserTestBase::setUp()
DevelContainerInfoTest::setUp in tests/src/Functional/DevelContainerInfoTest.php
DevelControllerTest::setUp in tests/src/Functional/DevelControllerTest.php
DevelDumperTest::setUp in tests/src/Functional/DevelDumperTest.php
DevelElementInfoTest::setUp in tests/src/Functional/DevelElementInfoTest.php
DevelEntityTypeInfoTest::setUp in tests/src/Functional/DevelEntityTypeInfoTest.php

... See full list

File

tests/src/Functional/DevelBrowserTestBase.php, line 42

Class

DevelBrowserTestBase
Browser test base class for Devel functional tests.

Namespace

Drupal\Tests\devel\Functional

Code

protected function setUp() {
    parent::setUp();
    $this->adminUser = $this->drupalCreateUser([
        'access devel information',
        'administer site configuration',
    ]);
    $this->develUser = $this->drupalCreateUser([
        'access devel information',
    ]);
}