Skip to content

Commit 11791ea

Browse files
committed
test(json-schema): fix phpunit tests
1 parent 325a04c commit 11791ea

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tests/Functional/PaginationDisabledTest.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515

1616
use ApiPlatform\JsonSchema\SchemaFactoryInterface;
1717
use ApiPlatform\Metadata\Operation\Factory\OperationMetadataFactory;
18+
use ApiPlatform\Metadata\Operation\Factory\OperationMetadataFactoryInterface;
1819
use ApiPlatform\Symfony\Bundle\Test\ApiTestCase;
1920
use ApiPlatform\Tests\Fixtures\TestBundle\Entity\PaginationDisabledEntity;
2021
use ApiPlatform\Tests\RecreateSchemaTrait;
@@ -27,7 +28,7 @@ final class PaginationDisabledTest extends ApiTestCase
2728
use SetupClassResourcesTrait;
2829

2930
protected SchemaFactoryInterface $schemaFactory;
30-
private OperationMetadataFactory $operationMetadataFactory;
31+
private OperationMetadataFactoryInterface $operationMetadataFactory;
3132

3233
protected static ?bool $alwaysBootKernel = false;
3334

0 commit comments

Comments
 (0)