Skip to content

Commit

Permalink
Prevent inconsistent behaviour when no tests have to run in sub-proce…
Browse files Browse the repository at this point in the history
…ss (#790)
  • Loading branch information
Slamdunk authored Sep 14, 2023
1 parent 7f372b5 commit 1526eb4
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/WrapperRunner/ApplicationForWrapperWorker.php
Original file line number Diff line number Diff line change
Expand Up @@ -205,6 +205,10 @@ private function bootstrap(): void

public function end(): void
{
if (! $this->hasBeenBootstrapped) {
return;
}

EventFacade::emitter()->testRunnerExecutionFinished();
EventFacade::emitter()->testRunnerFinished();

Expand Down

0 comments on commit 1526eb4

Please sign in to comment.