function OverwriteExistingPackagesValidatorTest::setUp
Overrides PackageManagerKernelTestBase::setUp
File
-
core/
modules/ package_manager/ tests/ src/ Kernel/ OverwriteExistingPackagesValidatorTest.php, line 28
Class
- OverwriteExistingPackagesValidatorTest
- @covers \Drupal\package_manager\Validator\OverwriteExistingPackagesValidator @group package_manager @internal
Namespace
Drupal\Tests\package_manager\KernelCode
protected function setUp() : void {
// In this test, we don't care whether the updated projects are secure and
// supported.
$this->disableValidators[] = SupportedReleaseValidator::class;
parent::setUp();
$this->installComposerInstallers($this->container
->get(PathLocator::class)
->getProjectRoot());
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.