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

[8.x] Behaviour change on assertAttributeDoesntContain #1154

Merged
merged 5 commits into from
Jan 6, 2025

Conversation

F2210
Copy link
Contributor

@F2210 F2210 commented Jan 6, 2025

See issue #1153 for more info.

Removed notNull assertion in MakeAssertions/assertAttributeDoesntContain and added an early return if the attribute is null.

Updated test in tests/Unit/MakeAssertionsTest.php to reflect new behaviour in unit test.

F2210 added 3 commits January 6, 2025 10:19
revert changes on wrong place and add correct changes
remove whitespace
@F2210 F2210 marked this pull request as draft January 6, 2025 09:38
Update test_assert_attribute_does_not_contain to reflect new behaviour.
@F2210 F2210 marked this pull request as ready for review January 6, 2025 09:45
remove whitespace
@taylorotwell taylorotwell merged commit 8ddd53a into laravel:8.x Jan 6, 2025
24 checks passed
flap152 pushed a commit to flap152/dusk that referenced this pull request Jan 7, 2025
* Update MakesAssertions.php

* Update MakesAssertions.php

revert changes on wrong place and add correct changes

* Update MakesAssertions.php

remove whitespace

* Update MakesAssertionsTest.php

Update test_assert_attribute_does_not_contain to reflect new behaviour.

* Update MakesAssertions.php

remove whitespace
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