mirror of
https://github.com/pestphp/pest.git
synced 2026-09-05 14:23:34 +02:00
fix(tia): treat a test skipped from a hook as finished (#1863)
This commit is contained in:
committed by
GitHub
parent
a8d4770c0b
commit
2e58918201
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user