Some db sanity checks
This commit is contained in:
parent
f1714b056c
commit
d3fd23af59
@ -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');
|
||||
}
|
||||
}
|
@ -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');
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user