Skip to content

Commit

Permalink
bug #285 Remove AdminApi dependencies (Tomanhez)
Browse files Browse the repository at this point in the history
This PR was merged into the 1.0-dev branch.

Discussion
----------



Commits
-------

8d7dccd Remove AdminApi depedencies
  • Loading branch information
GSadee authored Apr 23, 2021
2 parents 78f2c21 + 8d7dccd commit 1d0af81
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 6 deletions.
1 change: 0 additions & 1 deletion src/DependencyInjection/SyliusRefundExtension.php
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,6 @@ protected function getNamespacesOfMigrationsExecutedBefore(): array
{
return [
'Sylius\Bundle\CoreBundle\Migrations',
'Sylius\Bundle\AdminApiBundle\Migrations',
];
}
}
6 changes: 1 addition & 5 deletions tests/DependencyInjection/SyliusRefundExtensionTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -45,18 +45,14 @@ 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']
));
self::assertSame(
'Sylius\Bundle\CoreBundle\Migrations',
$syliusLabsDoctrineMigrationsExtraExtensionConfig[0]['migrations']['Sylius\RefundPlugin\Migrations'][0]
);
self::assertSame(
'Sylius\Bundle\AdminApiBundle\Migrations',
$syliusLabsDoctrineMigrationsExtraExtensionConfig[0]['migrations']['Sylius\RefundPlugin\Migrations'][1]
);
}

/**
Expand Down

0 comments on commit 1d0af81

Please sign in to comment.