Skip to content

Conversation

@JBroeren
Copy link
Contributor

@JBroeren JBroeren 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.

revert changes on wrong place and add correct changes
remove whitespace
@JBroeren JBroeren marked this pull request as draft January 6, 2025 09:38
Update test_assert_attribute_does_not_contain to reflect new behaviour.
@JBroeren JBroeren 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