function FailureMarkerTest::testMarkerFileIsExcluded

@covers ::getSubscribedEvents @covers ::excludeMarkerFile

File

core/modules/package_manager/tests/src/Kernel/FailureMarkerTest.php, line 90

Class

FailureMarkerTest
@coversDefaultClass \Drupal\package_manager\FailureMarker @group package_manager @internal

Namespace

Drupal\Tests\package_manager\Kernel

Code

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.