fix(tia): treat a test skipped from a hook as finished (#1863)

This commit is contained in:
Lazizbek Ergashev
2026-08-13 20:15:45 +05:00
committed by GitHub
parent a8d4770c0b
commit 2e58918201
2 changed files with 29 additions and 1 deletions
+1 -1
View File
@@ -117,7 +117,7 @@ final class ResultCollector
public function hasUnfinishedTest(): bool
{
return $this->currentTestId !== null;
return $this->currentTestId !== null && ! isset($this->results[$this->currentTestId]);
}
public function recordAssertions(string $testId, int $assertions): void