From dbaf2526f9543213afa4dd370e38adf9fdef9018 Mon Sep 17 00:00:00 2001 From: Tomasz Kryszan Date: Tue, 22 Oct 2024 11:34:50 +0200 Subject: [PATCH] [Tests] Adjusted BaseCriterionVisitorTestCase --- tests/lib/Search/Query/BaseCriterionVisitorTestCase.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/lib/Search/Query/BaseCriterionVisitorTestCase.php b/tests/lib/Search/Query/BaseCriterionVisitorTestCase.php index a247243..a740a7b 100644 --- a/tests/lib/Search/Query/BaseCriterionVisitorTestCase.php +++ b/tests/lib/Search/Query/BaseCriterionVisitorTestCase.php @@ -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 @@ -49,7 +50,7 @@ public function provideDataForTestCanVisit(): iterable { yield 'Not supported criterion' => [ false, - new Criterion\ContentId(123), + new TestCriterion(), ]; yield 'Supported criterion' => [