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 218
Class
- SandboxManagerBaseTest
- @coversDefaultClass \Drupal\package_manager\SandboxManagerBase @group package_manager @group #slow @internal
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.