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 Feb 7, 2021
1 parent 0b54da4 commit 8aa499d
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 @@ -1532,8 +1532,6 @@ protected function getMockFromWsdl(string $wsdlFile, string $originalClassName =

$this->registerMockObject($mockObject);

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

return $mockObject;
}

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

$this->registerMockObject($mockObject);

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

return $mockObject;
}

Expand Down

0 comments on commit 8aa499d

Please sign in to comment.