Skip to content

Commit 65e6d30

Browse files
committed
[Tests] Fixed tests
1 parent ee66640 commit 65e6d30

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

tests/bundle/Gateway/ExpressionVisitorTest.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@
2222
use Ibexa\Contracts\CorePersistence\Gateway\DoctrineSchemaMetadataRegistryInterface;
2323
use Ibexa\CorePersistence\Gateway\ExpressionVisitor;
2424
use Ibexa\CorePersistence\Gateway\Parameter;
25+
use Ibexa\CorePersistence\Gateway\RelationshipTypeStrategyRegistry;
2526
use PHPUnit\Framework\Constraint\IsIdentical;
2627
use PHPUnit\Framework\TestCase;
2728

@@ -66,6 +67,7 @@ protected function setUp(): void
6667
$this->registry,
6768
'table_name',
6869
'table_alias',
70+
new RelationshipTypeStrategyRegistry()
6971
);
7072
}
7173

tests/integration/Gateway/ExpressionVisitorTest.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
use Ibexa\Contracts\CorePersistence\Gateway\DoctrineSchemaMetadataRegistryInterface;
1515
use Ibexa\Contracts\Test\Core\IbexaKernelTestCase;
1616
use Ibexa\CorePersistence\Gateway\ExpressionVisitor;
17+
use Ibexa\CorePersistence\Gateway\RelationshipTypeStrategyRegistry;
1718

1819
final class ExpressionVisitorTest extends IbexaKernelTestCase
1920
{
@@ -29,6 +30,7 @@ protected function setUp(): void
2930
$registry,
3031
'foo_table_name',
3132
'foo_table_alias',
33+
new RelationshipTypeStrategyRegistry()
3234
);
3335
}
3436

0 commit comments

Comments
 (0)