Skip to content

[12.x] use offset() and limit() in tests #56089

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

Merged

Conversation

browner12
Copy link
Contributor

we should not be testing the alias methods skip() and take() in our tests, but rather directly the actual methods performing the logic.

if someone wanted to add a test for skip() and take() that'd be great, it'd be 1 method each ensuring they just pass along to their aliased counterparts.

follow up to #56080 and #56081

we should not be testing the alias methods `skip()` and `take()` in our tests, but rather directly the actual methods performing the logic.

if someone wanted to add a test for `skip()` and `take()` that'd be great, it'd be 1 method each ensuring they just pass along to their aliased counterparts.
@browner12
Copy link
Contributor Author

failure appears unrelated as not from either of the tests I changed.

@taylorotwell taylorotwell merged commit 24fb71a into laravel:12.x Jun 20, 2025
55 of 62 checks passed
@browner12 browner12 deleted the AB-use-limit-and-offset-in-tests branch June 20, 2025 14:07
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