Skip to content

Commit

Permalink
Fix: Emit event in different location
Browse files Browse the repository at this point in the history
Co-authored-by: Andreas Möller <am@localheinz.com>
Co-authored-by: Arne Blankerts <Arne@Blankerts.de>
  • Loading branch information
localheinz and theseer committed Mar 14, 2021
1 parent 03accec commit 7a6e4a7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Framework/TestCase.php
Original file line number Diff line number Diff line change
Expand Up @@ -1461,8 +1461,6 @@ protected function getMockFromWsdl(string $wsdlFile, string $originalClassName =

$this->registerMockObject($mockObject);

Event\Registry::emitter()->testDoubleMockForTraitCreated();

return $mockObject;
}

Expand Down Expand Up @@ -1490,6 +1488,8 @@ protected function getMockForTrait(string $traitName, array $arguments = [], str

$this->registerMockObject($mockObject);

Event\Registry::emitter()->testDoubleMockForTraitCreated();

return $mockObject;
}

Expand Down

0 comments on commit 7a6e4a7

Please sign in to comment.