Fix migration and codeception issues.
This commit is contained in:
parent
dcd3ed0859
commit
6a31389bb6
|
@ -21,11 +21,11 @@ coverage:
|
|||
- src/*
|
||||
exclude:
|
||||
# Not used in application
|
||||
- src/AzuraCast/Radio/Frontend/ShoutCast2.php
|
||||
- app/src/AzuraCast/Radio/Frontend/ShoutCast2.php
|
||||
|
||||
# Used in application, but not used in tests
|
||||
- src/AzuraCast/Console/Command/*.php
|
||||
- src/Migration/*
|
||||
- app/src/AzuraCast/Console/Command/*.php
|
||||
- app/models/Migration/*
|
||||
- app/config/*.conf.sample.php
|
||||
- app/locale/**/*
|
||||
- app/locale/*
|
||||
|
@ -33,4 +33,4 @@ coverage:
|
|||
|
||||
# Used in application, but not detected properly by the coverage tool :(
|
||||
- app/bootstrap/routes.php
|
||||
- app/**/*.conf.php
|
||||
- app/config/**/*.conf.php
|
|
@ -27,7 +27,7 @@ $cli->setHelperSet($helperSet);
|
|||
// Migrations commands
|
||||
$migrate_config = new \Doctrine\DBAL\Migrations\Configuration\Configuration($db);
|
||||
$migrate_config->setMigrationsTableName('app_migrations');
|
||||
$migrate_config->setMigrationsDirectory(__DIR__.'/../src/Migration');
|
||||
$migrate_config->setMigrationsDirectory(__DIR__.'/../app/models/Migration');
|
||||
$migrate_config->setMigrationsNamespace('Migration');
|
||||
|
||||
$migration_commands = array(
|
||||
|
|
Loading…
Reference in New Issue