laravel / browser-kit-testing

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

[4.0] PHPUnit 8 support #83

Closed driesvints closed 5 years ago

driesvints commented 5 years ago

This PR provides compatibility for PHPUnit 8. I managed to do this in a compatible way with PHPUnit 7.0 so there's no major version release needed, only a minor one. I've also updated Travis to test both against PHPUnit 7 and 8.

The only thing that really changed is that Laravel\BrowserKitTesting\HttpException isn't an instance of PHPUnit\Framework\ExpectationFailedException anymore. But I don't feel that this change warrants a new major version release.