From 8ffbce6b96f0bc3a8f97b384712dc308336b75e4 Mon Sep 17 00:00:00 2001 From: gwleuverink Date: Thu, 29 Aug 2024 02:19:06 +0200 Subject: [PATCH] remove duplicate assertion --- tests/Unit/GroupFunctionTest.php | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) 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 () {