You are here

protected function PhpUninstallTest::setUp in PHP 8

Overrides BrowserTestBase::setUp

File

src/Tests/Functional/PhpUninstallTest.php, line 24

Class

PhpUninstallTest
Test uninstall functionality of PHP module.

Namespace

Drupal\Tests\php\Functional

Code

protected function setUp() {
  parent::setUp();
  $permissions = [
    'access administration pages',
    'administer modules',
  ];

  // User to set up php.
  $this->admin_user = $this
    ->drupalCreateUser($permissions);
  $this
    ->drupalLogin($this->admin_user);
}