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

Breadcrumb

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

function ResultCacheHandler::testErrored

File

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

Class

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

Namespace

PHPUnit\Runner\ResultCache

Code

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