Skip to content

Commit

Permalink
-fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
alexndlm committed Mar 25, 2024
1 parent e6b32b2 commit c8829bc
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions Tests/DependencyInjection/DoctrineMigrationsExtensionTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -239,8 +239,6 @@ public function testEnvironmentAwareMigrationsWithSymfony7(): void
$di = $container->get('doctrine.migrations.dependency_factory');
self::assertInstanceOf(DependencyFactory::class, $di);

$this->expectDeprecation('The "" service relies on the deprecated "Doctrine\Bundle\MigrationsBundle\MigrationsFactory\ContainerAwareMigrationFactory" class. It should either be deprecated or its implementation upgraded.');

$migration = $di->getMigrationFactory()->createVersion(EnvironmentAwareMigration::class);

self::assertInstanceOf(EnvironmentAwareMigration::class, $migration);
Expand Down

0 comments on commit c8829bc

Please sign in to comment.