Skip to content

Commit

Permalink
Prevent inconsistent behaviour when no tests have to run in sub-process
Browse files Browse the repository at this point in the history
  • Loading branch information
Slamdunk committed Sep 14, 2023
1 parent 7f372b5 commit 632f80a
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 632f80a

Please sign in to comment.