function OverwriteExistingPackagesValidatorTest::setUp

Overrides PackageManagerKernelTestBase::setUp

File

core/modules/package_manager/tests/src/Kernel/OverwriteExistingPackagesValidatorTest.php, line 37

Class

OverwriteExistingPackagesValidatorTest
Tests Overwrite Existing Packages Validator.

Namespace

Drupal\Tests\package_manager\Kernel

Code

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.