protected function InstallUninstallTest::setUp in Entity Update 2.0.x
Overrides BrowserTestBase::setUp
File
- tests/
src/ Functional/ InstallUninstallTest.php, line 30
Class
- InstallUninstallTest
- Test uninstall functionality of Site Version module.
Namespace
Drupal\Tests\entity_update\FunctionalCode
protected function setUp() {
parent::setUp();
$permissions = [
'access administration pages',
'administer modules',
];
// User to set up entity_update.
$this->admin_user = $this
->drupalCreateUser($permissions);
$this
->drupalLogin($this->admin_user);
}