Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[5.8] Add Request::validate() macro test coverage #29535

Merged
merged 1 commit into from
Aug 13, 2019

Conversation

derekmd
Copy link
Contributor

@derekmd derekmd commented Aug 12, 2019

#29482 revealed Request::validate() was never called in the test suite.

Since PHP 7.4 is potentially introducing breaking changes to Laravel macros, add test coverage to Request::validate() registered in FoundationServiceProvider. (#19063)

Additional framework macro Request::hasValidSignature() is already covered by UrlSigningTest.

$request->validate() was never called in the test suite.
@derekmd derekmd mentioned this pull request Aug 12, 2019
@driesvints
Copy link
Member

Thanks. I'll rebase my PR once this is merged.

@taylorotwell taylorotwell merged commit 4c13824 into laravel:5.8 Aug 13, 2019
@derekmd derekmd deleted the request-validate-test-coverage branch August 13, 2019 18:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants