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 <[email protected]>
Co-authored-by: Arne Blankerts <[email protected]>
  • Loading branch information
localheinz and theseer committed Jan 18, 2021
1 parent 6f7764f commit 5dbae87
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 @@ -1531,8 +1531,6 @@ protected function getMockFromWsdl(string $wsdlFile, string $originalClassName =

$this->registerMockObject($mockObject);

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

return $mockObject;
}

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

$this->registerMockObject($mockObject);

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

return $mockObject;
}

Expand Down

0 comments on commit 5dbae87

Please sign in to comment.