File tree Expand file tree Collapse file tree 3 files changed +6
-3
lines changed
Expand file tree Collapse file tree 3 files changed +6
-3
lines changed Original file line number Diff line number Diff line change 66use Doctrine \DBAL \Migrations \Configuration \Configuration ;
77use Symfony \Component \DependencyInjection \ContainerBuilder ;
88use Symfony \Component \DependencyInjection \ParameterBag \ParameterBag ;
9+ use PHPUnit \Framework \TestCase ;
910
10- class DoctrineCommandTest extends \ PHPUnit \ Framework \ TestCase
11+ class DoctrineCommandTest extends TestCase
1112{
1213 public function testConfigureMigrations ()
1314 {
@@ -29,6 +30,7 @@ private function getContainer()
2930 'doctrine_migrations.name ' => 'test ' ,
3031 'doctrine_migrations.table_name ' => 'test ' ,
3132 'doctrine_migrations.organize_migrations ' => Configuration::VERSIONS_ORGANIZATION_BY_YEAR ,
33+ 'doctrine_migrations.custom_template ' => null ,
3234 )));
3335 }
3436}
Original file line number Diff line number Diff line change 66use Doctrine \DBAL \Migrations \Configuration \Configuration ;
77use Symfony \Component \DependencyInjection \ContainerBuilder ;
88use Symfony \Component \DependencyInjection \ParameterBag \ParameterBag ;
9+ use PHPUnit \Framework \TestCase ;
910
10- class DoctrineMigrationsExtensionTest extends \PHPUnit_Framework_TestCase
11+ class DoctrineMigrationsExtensionTest extends TestCase
1112{
1213 public function testOrganizeMigrations ()
1314 {
Original file line number Diff line number Diff line change 2626 "doctrine/migrations" : " ^1.1"
2727 },
2828 "require-dev" : {
29- "phpunit/phpunit" : " ^4.8.36"
29+ "phpunit/phpunit" : " ^4.8.36|^5.7|^6.4 "
3030 },
3131 "autoload" : {
3232 "psr-4" : { "Doctrine\\ Bundle\\ MigrationsBundle\\ " : " " }
You can’t perform that action at this time.
0 commit comments