Skip to content

Commit

Permalink
remove duplicate assertion
Browse files Browse the repository at this point in the history
  • Loading branch information
gwleuverink committed Aug 29, 2024
1 parent 73bdf7e commit 8ffbce6
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions tests/Unit/GroupFunctionTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -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 () {
Expand All @@ -30,6 +28,7 @@
->toBeIterable()
->toHaveKey('foo')
->toContain(1);

});

it('can access property collection like a object', function () {
Expand Down

0 comments on commit 8ffbce6

Please sign in to comment.