parent
c4adbab04e
commit
3b27e74ca0
|
@ -21,6 +21,11 @@ set_include_path(implode(PATH_SEPARATOR, array(
|
|||
realpath(APPLICATION_PATH . '/../library')
|
||||
)));
|
||||
|
||||
set_include_path(implode(PATH_SEPARATOR, array(
|
||||
get_include_path(),
|
||||
realpath(APPLICATION_PATH . '/../library/propel/runtime/lib')
|
||||
)));
|
||||
|
||||
// Ensure library/ is on include_path
|
||||
set_include_path(implode(PATH_SEPARATOR, array(
|
||||
get_include_path(),
|
||||
|
@ -45,6 +50,11 @@ if (file_exists('/usr/share/php/libzend-framework-php')) {
|
|||
|
||||
require_once 'Zend/Application.php';
|
||||
require_once 'Zend/Config.php';
|
||||
|
||||
require_once APPLICATION_PATH.'/configs/conf.php';
|
||||
require_once 'propel/runtime/lib/Propel.php';
|
||||
Propel::init("../application/configs/airtime-conf-production.php");
|
||||
|
||||
#require_once 'DatabaseTestCase.php';
|
||||
require_once 'Zend/Session.php';
|
||||
Zend_Session::start();
|
||||
|
|
|
@ -31,6 +31,7 @@ class ShowTest extends Zend_Test_PHPUnit_DatabaseTestCase
|
|||
echo($dbhost);
|
||||
AirtimeInstall::createDatabase();
|
||||
AirtimeInstall::createDatabaseTables($dbuser, $dbpasswd, $dbname, $dbhost);
|
||||
AirtimeInstall::SetDefaultTimezone();
|
||||
|
||||
$this->appBootstrap();
|
||||
|
||||
|
|
Loading…
Reference in New Issue