diff --git a/tests/src/flextype/HelpersTest.php b/tests/src/flextype/HelpersTest.php index 403f5822..95ac8066 100644 --- a/tests/src/flextype/HelpersTest.php +++ b/tests/src/flextype/HelpersTest.php @@ -167,9 +167,10 @@ test('filterCollection helper', function () { $this->assertEquals(['home' => ['title' => 'Home']], filterCollection($data, ['return' => 'all', 'only' => ['home']])); + $this->assertEquals(['home' => ['title' => 'Home']], filterCollection($data, ['return' => 'all', - 'only' => ['home']])); + 'except' => ['blog', 'about']])); // param: where and return: all $this->assertEquals(['about' => ['title' => 'About']],