diff --git a/tests/Unit/GroupFunctionTest.php b/tests/Unit/GroupFunctionTest.php index 132393c..c98b829 100644 --- a/tests/Unit/GroupFunctionTest.php +++ b/tests/Unit/GroupFunctionTest.php @@ -14,9 +14,7 @@ }; expect(group($component, 'a')) - ->toBeInstanceOf(PropertyCollection::class) - ->toHaveKey('foo') - ->toContain(1); + ->toBeInstanceOf(PropertyCollection::class); }); it('ensures PropertyCollection is Iterable & ArrayAccessable', function () { @@ -30,6 +28,7 @@ ->toBeIterable() ->toHaveKey('foo') ->toContain(1); + }); it('can access property collection like a object', function () {