function PackageManagerKernelTestBase::enableModules
Overrides KernelTestBase::enableModules
4 calls to PackageManagerKernelTestBase::enableModules()
- ComposerPatchesValidatorTest::testErrorDuringPreApplyWithHelp in core/
modules/ package_manager/ tests/ src/ Kernel/ ComposerPatchesValidatorTest.php - Tests that validation errors can carry links to help.
- ComposerValidatorTest::testLinkToOnlineHelp in core/
modules/ package_manager/ tests/ src/ Kernel/ ComposerValidatorTest.php - Tests that invalid configuration links to online help, if available.
- ProjectInfoTest::testGetInstallableReleases in core/
modules/ package_manager/ tests/ src/ Kernel/ ProjectInfoTest.php - @covers ::getInstallableReleases
- RsyncValidatorTest::testPreCreateFailsIfRsyncNotFound in core/
modules/ package_manager/ tests/ src/ Kernel/ RsyncValidatorTest.php - Tests that the stage cannot be created if rsync is selected, but not found.
File
-
core/
modules/ package_manager/ tests/ src/ Kernel/ PackageManagerKernelTestBase.php, line 141
Class
- PackageManagerKernelTestBase
- Base class for kernel tests of Package Manager's functionality.
Namespace
Drupal\Tests\package_manager\KernelCode
protected function enableModules(array $modules) : void {
parent::enableModules($modules);
$this->registerPostUpdateFunctions();
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.