diff --git a/src/DependencyInjection/SyliusRefundExtension.php b/src/DependencyInjection/SyliusRefundExtension.php index aaaf75b6..b528aa7d 100644 --- a/src/DependencyInjection/SyliusRefundExtension.php +++ b/src/DependencyInjection/SyliusRefundExtension.php @@ -46,7 +46,6 @@ protected function getNamespacesOfMigrationsExecutedBefore(): array { return [ 'Sylius\Bundle\CoreBundle\Migrations', - 'Sylius\Bundle\AdminApiBundle\Migrations', ]; } } diff --git a/tests/DependencyInjection/SyliusRefundExtensionTest.php b/tests/DependencyInjection/SyliusRefundExtensionTest.php index a0ad7dab..a725d14c 100644 --- a/tests/DependencyInjection/SyliusRefundExtensionTest.php +++ b/tests/DependencyInjection/SyliusRefundExtensionTest.php @@ -45,7 +45,7 @@ public function it_autoconfigures_prepending_doctrine_migration_with_proper_migr ->container ->getExtensionConfig('sylius_labs_doctrine_migrations_extra') ; - + self::assertTrue(isset( $syliusLabsDoctrineMigrationsExtraExtensionConfig[0]['migrations']['Sylius\RefundPlugin\Migrations'] )); @@ -53,10 +53,6 @@ public function it_autoconfigures_prepending_doctrine_migration_with_proper_migr 'Sylius\Bundle\CoreBundle\Migrations', $syliusLabsDoctrineMigrationsExtraExtensionConfig[0]['migrations']['Sylius\RefundPlugin\Migrations'][0] ); - self::assertSame( - 'Sylius\Bundle\AdminApiBundle\Migrations', - $syliusLabsDoctrineMigrationsExtraExtensionConfig[0]['migrations']['Sylius\RefundPlugin\Migrations'][1] - ); } /**