We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f03e652 commit 04e4c1bCopy full SHA for 04e4c1b
tests/Http/HttpClientTest.php
@@ -1767,7 +1767,6 @@ public function testMiddlewareRunsAndCanChangeRequestOnAssertSent()
1767
return $this->factory->response('Fake');
1768
});
1769
1770
-
1771
$pendingRequest = $this->factory->withMiddleware(
1772
Middleware::mapRequest(fn (RequestInterface $request) => $request->withHeader('X-Test-Header', 'Test'))
1773
);
@@ -1779,7 +1778,6 @@ public function testMiddlewareRunsAndCanChangeRequestOnAssertSent()
1779
1778
$request->url() === 'https://laravel.example' &&
1780
$request->hasHeader('X-Test-Header', 'Test');
1781
1782
1783
}
1784
1785
public function testRequestExceptionIsNotThrownIfThePendingRequestIsSetToThrowOnFailureButTheResponseIsSuccessful()
0 commit comments