function SandboxManagerBaseTest::testFailureMarkerFileExcluded
Tests that the failure marker file is excluded using a relative path.
File
-
core/
modules/ package_manager/ tests/ src/ Kernel/ SandboxManagerBaseTest.php, line 414
Class
- SandboxManagerBaseTest
- @coversDefaultClass \Drupal\package_manager\SandboxManagerBase @group package_manager @group #slow @internal
Namespace
Drupal\Tests\package_manager\KernelCode
public function testFailureMarkerFileExcluded() : void {
$this->assertResults([]);
/** @var \Drupal\package_manager_bypass\LoggingCommitter $committer */
$committer = $this->container
->get(CommitterInterface::class);
$committer_args = $committer->getInvocationArguments();
$this->assertCount(1, $committer_args);
$this->assertContains('PACKAGE_MANAGER_FAILURE.yml', $committer_args[0][2]);
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.