function LockFileValidatorTest::setUp

Overrides PackageManagerKernelTestBase::setUp

File

core/modules/package_manager/tests/src/Kernel/LockFileValidatorTest.php, line 47

Class

LockFileValidatorTest
Tests Drupal\package_manager\Validator\LockFileValidator.

Namespace

Drupal\Tests\package_manager\Kernel

Code

protected function setUp() : void {
  parent::setUp();
  $this->activeDir = $this->container
    ->get(PathLocator::class)
    ->getProjectRoot();
}

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