php
Laravel: A replacement for Http::assertSent() with better feedback on error
When writing PHPUnit tests for your Http clients in Laravel, you probably know about Http::fake() and Http::assertSent(). Here is an example of this: use Illuminate\Http\Client\Request; Http::fake([ 'hehe' => Http::response('hehehe'), 'hihi' => Http::response('hihihi'