Skip to content

Commit

Permalink
IsContainerTest
Browse files Browse the repository at this point in the history
  • Loading branch information
tischsoic committed Feb 22, 2024
1 parent 245d179 commit 0dcf440
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions tests/bundle/Functional/SearchView/Criterion/IsContainerTest.php
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

View workflow job for this annotation

GitHub Actions / Unit & integration tests (7.4)

Method Ibexa\Tests\Bundle\Rest\Functional\SearchView\Criterion\IsContainerTest::getCriteriaPayloads() return type has no value type specified in iterable type iterable.

Check failure on line 15 in tests/bundle/Functional/SearchView/Criterion/IsContainerTest.php

View workflow job for this annotation

GitHub Actions / Unit & integration tests (8.0)

Method Ibexa\Tests\Bundle\Rest\Functional\SearchView\Criterion\IsContainerTest::getCriteriaPayloads() return type has no value type specified in iterable type iterable.

Check failure on line 15 in tests/bundle/Functional/SearchView/Criterion/IsContainerTest.php

View workflow job for this annotation

GitHub Actions / Unit & integration tests (8.2)

Method Ibexa\Tests\Bundle\Rest\Functional\SearchView\Criterion\IsContainerTest::getCriteriaPayloads() return type has no value type specified in iterable type iterable.
{
return [
'is container' => [
'json',
$this->buildJsonCriterionQuery('"IsContainer": true'),
11,
],
'is not container' => [
'json',
$this->buildJsonCriterionQuery('"IsContainer": false'),
2,
],
];
}
}

0 comments on commit 0dcf440

Please sign in to comment.