X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=tests%2FDiceHttpMockHandlerTrait.php;h=50d717c23a7641d9f6af4fcba910eaad03a466b3;hb=e8420dcb7155af7fb8bd29fb63c79367125dd551;hp=7f77d7e4fea1a54b859d9986dacf7b3f6309fc95;hpb=409d909d0f52395eae4bebf7960c368efed3865f;p=friendica.git diff --git a/tests/DiceHttpMockHandlerTrait.php b/tests/DiceHttpMockHandlerTrait.php index 7f77d7e4fe..50d717c23a 100644 --- a/tests/DiceHttpMockHandlerTrait.php +++ b/tests/DiceHttpMockHandlerTrait.php @@ -1,6 +1,6 @@ addRule(ICanRequestPerHttp::class, [ + $newDice = $dice->addRule(ICanSendHttpRequests::class, [ 'instanceOf' => HttpClient::class, 'call' => [ ['createClient', [$this->httpRequestHandler], Dice::CHAIN_CALL],