Skip to content

Commit

Permalink
Update tests
Browse files Browse the repository at this point in the history
  • Loading branch information
emodric committed Sep 2, 2024
1 parent 07bbbfb commit 14db0ad
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions tests/Core/Search/Legacy/Content/HandlerContentTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
use Ibexa\Contracts\Core\Persistence\Content as ContentObject;
use Ibexa\Contracts\Core\Persistence\Content\ContentInfo;
use Ibexa\Contracts\Core\Persistence\Content\VersionInfo;
use Ibexa\Contracts\Core\Persistence\Content\Type\Handler as ContentTypeHandler;
use Ibexa\Contracts\Core\Repository\Values\Content\Query;
use Ibexa\Contracts\Core\Repository\Values\Content\Query\SortClause;
use Ibexa\Contracts\Core\Repository\Values\Content\Search\SearchHit;
Expand All @@ -25,6 +26,7 @@
use Netgen\TagsBundle\Core\Search\Legacy\Content\Common\Gateway\CriterionHandler\Tags\TagKeyword as TagKeywordCriterionHandler;
use PHPUnit\Framework\MockObject\MockObject;

use Symfony\Contracts\EventDispatcher\EventDispatcherInterface;
use function array_filter;
use function array_map;
use function array_values;
Expand Down Expand Up @@ -295,6 +297,8 @@ private function getContentMapperMock(): MockObject&Mapper
[
$this->fieldRegistry,
$this->getLanguageHandler(),
$this->createMock(ContentTypeHandler::class),
$this->createMock(EventDispatcherInterface::class),
]
)
->getMock();
Expand Down

0 comments on commit 14db0ad

Please sign in to comment.