Fix migration and codeception issues.

This commit is contained in:
Buster Silver 2017-04-08 03:34:38 -05:00
parent dcd3ed0859
commit 6a31389bb6
2 changed files with 5 additions and 5 deletions

View File

@ -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

View File

@ -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(