Skip to content

Commit

Permalink
[Tests] Adjusted BaseCriterionVisitorTestCase
Browse files Browse the repository at this point in the history
  • Loading branch information
ciastektk committed Oct 24, 2024
1 parent 05ed457 commit dbaf252
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/lib/Search/Query/BaseCriterionVisitorTestCase.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@

use Ibexa\Contracts\Core\Repository\Values\Content\Query\Criterion;
use Ibexa\Contracts\Solr\Query\CriterionVisitor;
use Ibexa\Tests\Solr\Search\Query\Utils\Stub\TestCriterion;
use PHPUnit\Framework\TestCase;

abstract class BaseCriterionVisitorTestCase extends TestCase
Expand Down Expand Up @@ -49,7 +50,7 @@ public function provideDataForTestCanVisit(): iterable
{
yield 'Not supported criterion' => [
false,
new Criterion\ContentId(123),
new TestCriterion(),
];

yield 'Supported criterion' => [
Expand Down

0 comments on commit dbaf252

Please sign in to comment.