Skip to content

Commit 3ff3c9a

Browse files
committed
Add another test
1 parent 77c577a commit 3ff3c9a

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

tests/Testing/Fluent/AssertTest.php

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -504,6 +504,14 @@ public function testAssertWhereHasWithOutOfOrderNestedMatchingType()
504504
$assert->whereHas('baz', 4);
505505
}
506506

507+
public function testAssertWhereHasWithNullExpectation()
508+
{
509+
$assert = AssertableJson::fromArray([
510+
'foo' => 1,
511+
]);
512+
513+
$assert->whereHas('foo', null);
514+
}
507515
public function testAssertNestedWhereMatchesValue()
508516
{
509517
$assert = AssertableJson::fromArray([

0 commit comments

Comments
 (0)