X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=tests%2FDiceHttpMockHandlerTrait.php;h=56250817d64a5bf6d64facfee277c6b0014d6f9a;hb=f879b2c9bce17350c11a128052f32eea10039401;hp=3381a3219f8a5520cce55a30f548a7cc381436f1;hpb=f4ea74447e8a487bdd7236bdc6789a5d53fa2226;p=friendica.git diff --git a/tests/DiceHttpMockHandlerTrait.php b/tests/DiceHttpMockHandlerTrait.php index 3381a3219f..56250817d6 100644 --- a/tests/DiceHttpMockHandlerTrait.php +++ b/tests/DiceHttpMockHandlerTrait.php @@ -1,6 +1,6 @@ httpRequestHandler) && $this->httpRequestHandler instanceof HandlerStack) { - return; - } + $this->setUpFixtures(); $this->httpRequestHandler = HandlerStack::create(); @@ -59,10 +59,8 @@ trait DiceHttpMockHandlerTrait DI::init($newDice); } - protected function tearDown(): void + protected function tearDownHandler(): void { - \Mockery::close(); - - parent::tearDown(); + $this->tearDownFixtures(); } }