Skip to content

Commit

Permalink
Fix: Emit Test\PreConditionFinished event
Browse files Browse the repository at this point in the history
Related to #42.

Co-authored-by: Andreas Möller <am@localheinz.com>
Co-authored-by: Arne Blankerts <Arne@Blankerts.de>
  • Loading branch information
localheinz and theseer committed Feb 12, 2021
1 parent fa8826a commit 1187fc7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Framework/TestCase.php
Original file line number Diff line number Diff line change
Expand Up @@ -810,7 +810,7 @@ public function runBare(): void
$methodsCalledPreCondition[] = $methodCalledPreCondition;
}

Event\Registry::emitter()->testBeforeTestMethodFinished(
Event\Registry::emitter()->testPreConditionFinished(
static::class,
...$methodsCalledPreCondition
);
Expand Down

0 comments on commit 1187fc7

Please sign in to comment.