-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
30 additions
and
0 deletions.
There are no files selected for viewing
30 changes: 30 additions & 0 deletions
30
tests/bundle/Functional/SearchView/Criterion/IsContainerTest.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
<?php | ||
|
||
/** | ||
* @copyright Copyright (C) Ibexa AS. All rights reserved. | ||
* @license For full copyright and license information view LICENSE file distributed with this source code. | ||
*/ | ||
declare(strict_types=1); | ||
|
||
namespace Ibexa\Tests\Bundle\Rest\Functional\SearchView\Criterion; | ||
|
||
use Ibexa\Tests\Bundle\Rest\Functional\SearchView\SearchCriterionTestCase; | ||
|
||
final class IsContainerTest extends SearchCriterionTestCase | ||
{ | ||
public function getCriteriaPayloads(): iterable | ||
Check failure on line 15 in tests/bundle/Functional/SearchView/Criterion/IsContainerTest.php GitHub Actions / Unit & integration tests (7.4)
Check failure on line 15 in tests/bundle/Functional/SearchView/Criterion/IsContainerTest.php GitHub Actions / Unit & integration tests (8.0)
Check failure on line 15 in tests/bundle/Functional/SearchView/Criterion/IsContainerTest.php GitHub Actions / Unit & integration tests (8.2)
|
||
{ | ||
return [ | ||
'is container' => [ | ||
'json', | ||
$this->buildJsonCriterionQuery('"IsContainer": true'), | ||
11, | ||
], | ||
'is not container' => [ | ||
'json', | ||
$this->buildJsonCriterionQuery('"IsContainer": false'), | ||
2, | ||
], | ||
]; | ||
} | ||
} |