Skip to content

Commit

Permalink
Fix remaining direct deprecations
Browse files Browse the repository at this point in the history
  • Loading branch information
ostrolucky committed Jun 11, 2023
1 parent 182adcf commit 2b5346e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Tests/DataCollector/DoctrineDataCollectorTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ public function testCollectEntities(): void
$manager = $this->createMock(EntityManagerInterface::class);
$config = $this->createMock(Configuration::class);
$factory = $this->createMock(ClassMetadataFactory::class);
$collector = $this->createCollector(['default' => $manager]);
$collector = $this->createCollector(['default' => $manager], true, $this->createMock(DebugDataHolder::class));

$manager->expects($this->any())
->method('getMetadataFactory')
Expand Down Expand Up @@ -69,7 +69,7 @@ public function testDoesNotCollectEntities(): void

$manager = $this->createMock(EntityManager::class);
$config = $this->createMock(Configuration::class);
$collector = $this->createCollector(['default' => $manager], false);
$collector = $this->createCollector(['default' => $manager], false, $this->createMock(DebugDataHolder::class));

$manager->expects($this->never())
->method('getMetadataFactory');
Expand Down

0 comments on commit 2b5346e

Please sign in to comment.