throws(StrayRequestException::class); test('a faked request still goes through when a matching fake is registered', function () { Http::fake(['example.com/*' => Http::response(['ok' => true])]); $response = Http::get('https://example.com/allowed'); expect($response->json('ok'))->toBeTrue(); });