function SandboxManagerBaseTest::testUncreatedGetSandboxDirectory
Tests uncreated get sandbox directory.
@legacy-covers ::getSandboxDirectory
File
-
core/
modules/ package_manager/ tests/ src/ Kernel/ SandboxManagerBaseTest.php, line 145
Class
Namespace
Drupal\Tests\package_manager\KernelCode
public function testUncreatedGetSandboxDirectory() : void {
$this->expectException(\LogicException::class);
$this->expectExceptionMessage(SandboxManagerBase::class . '::getSandboxDirectory() cannot be called because the stage has not been created or claimed.');
$this->createStage()
->getSandboxDirectory();
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.