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

[11.x] adding tests for null & * key given in data_get #54059

Merged
merged 3 commits into from
Jan 2, 2025

Conversation

jwjenkin
Copy link
Contributor

@jwjenkin jwjenkin commented Jan 2, 2025

There are currently no tests covering null given as a key to the data_get helper. This PR adds a new test covering those situations, as well as when given a collection with * explicitly.

Used phpunit code coverage to check on what coverage was missing for the data_get function.

@taylorotwell taylorotwell merged commit b88ed46 into laravel:11.x Jan 2, 2025
38 checks passed
@jwjenkin jwjenkin deleted the tests/data-get branch January 2, 2025 16: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