laravel / browser-kit-testing

Provides backwards compatibility for BrowserKit testing in the latest Laravel release.
MIT License
509 stars 75 forks source link

[6.x] Utilise illuminate/testing based on #122 #126

Closed crynobone closed 4 years ago

crynobone commented 4 years ago

Changelog note

All HTTP tests will now return an instance of Laravel\BrowserKitTesting\TestResponse instead of Illuminate\Http\Response. The advantage of having TestResponse is that you have access to every assertion available in Laravel HTTP Tests > Response Assertions.


This PR no longer add any breaking change. Old and new methods can be used.

Signed-off-by: Mior Muhammad Zaki crynobone@gmail.com