CC-5651: Unit Test the Scheduler

* Continued refactoring of the database creation.
* Database now persists after running tests but most of the tables are
  cleared.
* The unit tests run WAY faster now. :-)
This commit is contained in:
Albert Santoni 2014-01-23 17:04:29 -05:00
parent aa2e084a09
commit 162a873f9d
8 changed files with 109 additions and 18 deletions

View file

@ -59,6 +59,7 @@ if (file_exists('/usr/share/php/libzend-framework-php')) {
require_once 'Zend/Application.php';
require_once 'Zend/Config.php';
//require_once 'helpers/TestHelper.php';
require_once APPLICATION_PATH.'/configs/conf.php';
require_once 'propel/runtime/lib/Propel.php';
@ -67,3 +68,5 @@ Propel::init("../application/configs/airtime-conf-production.php");
#require_once 'DatabaseTestCase.php';
require_once 'Zend/Session.php';
Zend_Session::start();
//TestHelper::installTestDatabase();