function SandboxManagerBaseTest::testNoFailureFileOnSuccess
Tests that the failure marker file doesn't exist if apply succeeds.
See also
::testCommitException
File
-
core/
modules/ package_manager/ tests/ src/ Kernel/ SandboxManagerBaseTest.php, line 231
Class
Namespace
Drupal\Tests\package_manager\KernelCode
public function testNoFailureFileOnSuccess() : void {
$stage = $this->createStage();
$stage->create();
$stage->require([
'ext-json:*',
]);
$stage->apply();
$this->container
->get(FailureMarker::class)
->assertNotExists();
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.