function SandboxManagerBaseTest::testNoFailureFileOnSuccess
Same name and namespace in other branches
- 11.x core/modules/package_manager/tests/src/Kernel/SandboxManagerBaseTest.php \Drupal\Tests\package_manager\Kernel\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 229
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.