CC-5651: Unit Test the Scheduler
* More database connection stuff
This commit is contained in:
parent
6026ec58db
commit
37a95519c1
|
@ -8,6 +8,9 @@ class ShowTest extends Zend_Test_PHPUnit_DatabaseTestCase
|
||||||
public function setUp()
|
public function setUp()
|
||||||
{
|
{
|
||||||
$this->bootstrap = array($this, 'appBootstrap');
|
$this->bootstrap = array($this, 'appBootstrap');
|
||||||
|
//TODO: Use AirtimeInstall.php to create the database and database tables
|
||||||
|
//AirtimeInstall::createDatabase(blah blah);
|
||||||
|
//AirtimeInstall::createDatabaseTables(blah blah);
|
||||||
parent::setUp();
|
parent::setUp();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -28,7 +31,6 @@ class ShowTest extends Zend_Test_PHPUnit_DatabaseTestCase
|
||||||
'password' => 'airtime'
|
'password' => 'airtime'
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
var_dump($config);
|
|
||||||
$connection = Zend_Db::factory('pdo_pgsql', $config);
|
$connection = Zend_Db::factory('pdo_pgsql', $config);
|
||||||
|
|
||||||
$this->_connectionMock = $this->createZendDbConnection(
|
$this->_connectionMock = $this->createZendDbConnection(
|
||||||
|
|
Loading…
Reference in New Issue