function PackageManagerTestBase::setUp

Overrides BrowserTestBase::setUp

File

core/modules/package_manager/tests/src/Functional/PackageManagerTestBase.php, line 22

Class

PackageManagerTestBase
Base class for Package Manager Functional tests.

Namespace

Drupal\Tests\package_manager\Functional

Code

protected function setUp() : void {
    parent::setUp();
    // Allow package_manager to be installed.
    $settings['settings']['testing_package_manager'] = (object) [
        'value' => TRUE,
        'required' => TRUE,
    ];
    $this->writeSettings($settings);
}

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