Some db sanity checks

This commit is contained in:
Timothy Warren 2012-02-07 08:18:38 -05:00
parent f1714b056c
commit d3fd23af59
2 changed files with 12 additions and 0 deletions

View File

@ -29,4 +29,10 @@ class FirebirdTest extends UnitTestCase {
{
parent::__construct();
}
function TestConnection()
{
$this->firebird = new Firebird("../test_dbs/FB_TEST_DB.FDB");
$this->assertIsA($this->firebird, 'Firebird');
}
}

View File

@ -29,4 +29,10 @@ class SQLiteTest extends UnitTestCase {
{
parent::__construct();
}
function TestConnection()
{
$this->sqlite = new SQLite("../test_dbs/test_sqlite.db");
$this->assertIsA($this->sqlite, 'SQLite');
}
}