class PackageManagerTestBase

Base class for Package Manager Functional tests.

Hierarchy

Expanded class hierarchy of PackageManagerTestBase

File

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

Namespace

Drupal\Tests\package_manager\Functional
View source
abstract class PackageManagerTestBase extends BrowserTestBase {
    
    /**
     * {@inheritdoc}
     */
    protected $defaultTheme = 'stark';
    
    /**
     * {@inheritdoc}
     */
    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.