Skip to content

Conversation

DriverCat
Copy link
Contributor

This PR adds missing collect() helper method to src/Illuminate/Testing/TestResponse.php, the same as we already use in src/Illuminate/Http/Client/Response.php.

It will help writing test responses in the same way as real ones and easily transform them into collections.

@DriverCat DriverCat changed the title Adds collect() helper on TestResponse [9.x] Adds collect() helper on TestResponse May 13, 2022
@taylorotwell taylorotwell merged commit d424ab7 into laravel:9.x May 15, 2022
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.

2 participants