File tree Expand file tree Collapse file tree 1 file changed +30
-0
lines changed
tests/bundle/Functional/SearchView/Criterion Expand file tree Collapse file tree 1 file changed +30
-0
lines changed Original file line number Diff line number Diff line change 1+ <?php
2+
3+ /**
4+ * @copyright Copyright (C) Ibexa AS. All rights reserved.
5+ * @license For full copyright and license information view LICENSE file distributed with this source code.
6+ */
7+ declare (strict_types=1 );
8+
9+ namespace Ibexa \Tests \Bundle \Rest \Functional \SearchView \Criterion ;
10+
11+ use Ibexa \Tests \Bundle \Rest \Functional \SearchView \SearchCriterionTestCase ;
12+
13+ final class IsContainerTest extends SearchCriterionTestCase
14+ {
15+ public function getCriteriaPayloads (): iterable
16+ {
17+ return [
18+ 'is container ' => [
19+ 'json ' ,
20+ $ this ->buildJsonCriterionQuery ('"IsContainer": true ' ),
21+ 11 ,
22+ ],
23+ 'is not container ' => [
24+ 'json ' ,
25+ $ this ->buildJsonCriterionQuery ('"IsContainer": false ' ),
26+ 2 ,
27+ ],
28+ ];
29+ }
30+ }
You can’t perform that action at this time.
0 commit comments