Skip to content

Commit 57312d7

Browse files
committed
api: remove unnecessary dynamic field creation
Should have let AI review this PR.
1 parent 68ca192 commit 57312d7

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

api/tests/Api/SnapshotTests/Extension/FilterEagerLoadingExtensionIntegrationTest.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55
use ApiPlatform\Doctrine\Orm\Util\QueryNameGenerator;
66
use ApiPlatform\Metadata\GetCollection;
77
use ApiPlatform\Metadata\Operation;
8-
use ApiPlatform\Metadata\Resource\Factory\ResourceMetadataCollectionFactoryInterface;
98
use App\Doctrine\Orm\Extension\FilterEagerLoadingsExtension;
109
use App\Entity\CampCollaboration;
1110
use App\Repository\CampCollaborationRepository;
@@ -30,7 +29,6 @@ public function setUp(): void {
3029
$container = static::getContainer();
3130

3231
$this->repository = $container->get(CampCollaborationRepository::class);
33-
$this->resourceMetadataCollectionFactory = $container->get(ResourceMetadataCollectionFactoryInterface::class);
3432
$this->queryNameGenerator = new QueryNameGenerator();
3533
$this->entityClass = CampCollaboration::class;
3634
$this->operation = new GetCollection();

0 commit comments

Comments
 (0)