Skip to content

Commit be84422

Browse files
authored
Merge pull request #660 from greg0ire/4.0.x
Merge 3.8.x up into 4.0.x
2 parents 2b2c03b + 1c485d3 commit be84422

File tree

1 file changed

+0
-20
lines changed

1 file changed

+0
-20
lines changed

tests/DependencyInjection/DoctrineMigrationsExtensionTest.php

Lines changed: 0 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -251,26 +251,6 @@ public function testCustomConnection(): void
251251
self::assertCount(2, $tags);
252252
}
253253

254-
public function testPrefersEntityManagerOverConnection(): void
255-
{
256-
$container = $this->getContainer(
257-
[
258-
'migrations_paths' => ['DoctrineMigrationsTest' => 'a'],
259-
],
260-
null,
261-
[
262-
'controller_resolver' => ['auto_mapping' => false],
263-
],
264-
);
265-
266-
$container->compile();
267-
268-
$di = $container->get('doctrine.migrations.dependency_factory');
269-
270-
self::assertInstanceOf(DependencyFactory::class, $di);
271-
$di->getEntityManager();
272-
}
273-
274254
public function testNoEntityManagersConfigured(): void
275255
{
276256
$config = ['em' => null];

0 commit comments

Comments
 (0)