function FailureMarkerTest::testMarkerFileIsExcluded
Same name and namespace in other branches
- 11.x core/modules/package_manager/tests/src/Kernel/FailureMarkerTest.php \Drupal\Tests\package_manager\Kernel\FailureMarkerTest::testMarkerFileIsExcluded()
Tests marker file is excluded.
@legacy-covers ::getSubscribedEvents @legacy-covers ::excludeMarkerFile
File
-
core/
modules/ package_manager/ tests/ src/ Kernel/ FailureMarkerTest.php, line 100
Class
Namespace
Drupal\Tests\package_manager\KernelCode
public function testMarkerFileIsExcluded() : void {
$event = new CollectPathsToExcludeEvent($this->createStage(), $this->container
->get(PathLocator::class), $this->container
->get(PathFactoryInterface::class));
$this->container
->get('event_dispatcher')
->dispatch($event);
$this->assertContains('PACKAGE_MANAGER_FAILURE.yml', $event->getAll());
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.