This commit is contained in:
nuno maduro
2026-05-02 15:54:00 +01:00
parent 925935a7e8
commit 5242803694
2 changed files with 19 additions and 22 deletions

View File

@ -13,6 +13,7 @@ enum Replay
{
case No;
case Pass;
case Risky;
case Skipped;
case Incomplete;
case Failure;
@ -24,7 +25,8 @@ enum Replay
}
return match (true) {
$status->isSuccess(), $status->isRisky() => self::Pass,
$status->isSuccess() => self::Pass,
$status->isRisky() => self::Risky,
$status->isSkipped() => self::Skipped,
$status->isIncomplete() => self::Incomplete,
default => self::Failure,