This commit is contained in:
nuno maduro
2026-04-30 20:45:36 +01:00
parent f355b99bbf
commit 6a434be0f6
13 changed files with 495 additions and 1336 deletions

View File

@ -288,6 +288,7 @@ trait Testable
if ($cached !== null) {
if ($cached->isSuccess()) {
$this->__cachedPass = true;
$this->__ran = true;
return;
}
@ -299,6 +300,7 @@ trait Testable
// programmatic risky-marker API.
if ($cached->isRisky()) {
$this->__cachedPass = true;
$this->__ran = true;
return;
}
@ -313,6 +315,7 @@ trait Testable
if ($cached->isIncomplete()) {
$this->markTestIncomplete($cached->message());
$this->__ran = true;
}
throw new AssertionFailedError($cached->message() ?: 'Cached failure');