A little test cleanup
This commit is contained in:
parent
444a8a1778
commit
87b5c2aede
@ -28,11 +28,12 @@ class FirebirdTest extends UnitTestCase {
|
||||
function __construct()
|
||||
{
|
||||
parent::__construct();
|
||||
|
||||
$this->db = new Firebird(dirname(__FILE__)."/../test_dbs/FB_TEST_DB.FDB");
|
||||
}
|
||||
|
||||
function TestConnection()
|
||||
{
|
||||
$this->firebird = new Firebird(dirname(__FILE__)."/../test_dbs/FB_TEST_DB.FDB");
|
||||
$this->assertIsA($this->firebird, 'Firebird');
|
||||
$this->assertIsA($this->db, 'Firebird');
|
||||
}
|
||||
}
|
@ -28,11 +28,13 @@ class SQLiteTest extends UnitTestCase {
|
||||
function __construct()
|
||||
{
|
||||
parent::__construct();
|
||||
|
||||
$this->db = new SQLite("./test_dbs/test_sqlite.db");
|
||||
}
|
||||
|
||||
function TestConnection()
|
||||
{
|
||||
$this->sqlite = new SQLite("./test_dbs/test_sqlite.db");
|
||||
$this->assertIsA($this->sqlite, 'SQLite');
|
||||
|
||||
$this->assertIsA($this->db, 'SQLite');
|
||||
}
|
||||
}
|
Binary file not shown.
Loading…
Reference in New Issue
Block a user