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

[6.0] Test LazyCollection is lazy #29660

Merged
merged 1 commit into from
Aug 20, 2019

Conversation

JosephSilber
Copy link
Contributor

@JosephSilber JosephSilber commented Aug 20, 2019

Tests that all methods in the LazyCollection class are actually lazy.

While testing, I discovered 2-3 methods that were pulling more values than were actually requested. I fixed them.


I decided to do this in a separate test class, because it serves a single purpose, so it's easier to write/read/reason about.

@JosephSilber JosephSilber force-pushed the test-LazyCollection-is-lazy branch from e5cef0a to 8b3273e Compare August 20, 2019 13:29
@taylorotwell taylorotwell merged commit 6090f43 into laravel:6.0 Aug 20, 2019
@JosephSilber JosephSilber deleted the test-LazyCollection-is-lazy branch May 4, 2020 15:31
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