function UpdateApiEntityDefinitionUpdateTest::setUp

Overrides BrowserTestBase::setUp

File

core/modules/system/tests/src/Functional/Entity/Update/UpdateApiEntityDefinitionUpdateTest.php, line 33

Class

UpdateApiEntityDefinitionUpdateTest
Tests performing entity updates through the Update API.

Namespace

Drupal\Tests\system\Functional\Entity\Update

Code

protected function setUp() {
    parent::setUp();
    $admin = $this->drupalCreateUser([], FALSE, TRUE);
    $this->drupalLogin($admin);
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.