Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. ResultCacheHandler.php

function ResultCacheHandler::testFailed

File

vendor/phpunit/phpunit/src/Runner/ResultCache/ResultCacheHandler.php, line 93

Class

ResultCacheHandler
@no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit

Namespace

PHPUnit\Runner\ResultCache

Code

public function testFailed(Failed $event) : void {
    $this->cache
        ->setStatus($event->test()
        ->id(), TestStatus::failure($event->throwable()
        ->message()));
}
RSS feed
Powered by Drupal