You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If you provide middleware that modifies the request on your Http client when using Http::fake(), you can't use Http::assertSent() to test the modifications because the recorder handler is added to the stack before the middlewares are.
Laravel Version
10.4.1
PHP Version
8.2.7
Database Driver & Version
No response
Description
If you provide middleware that modifies the request on your Http client when using
Http::fake()
, you can't useHttp::assertSent()
to test the modifications because the recorder handler is added to the stack before the middlewares are.I've created a PR on #47614 that should fix this.
Steps To Reproduce
The text was updated successfully, but these errors were encountered: