diff --git a/tests/databases/firebird.php b/tests/databases/firebird.php index 343088d..fecd5f5 100644 --- a/tests/databases/firebird.php +++ b/tests/databases/firebird.php @@ -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'); } } \ No newline at end of file diff --git a/tests/databases/sqlite.php b/tests/databases/sqlite.php index 28ea562..a7fa83d 100644 --- a/tests/databases/sqlite.php +++ b/tests/databases/sqlite.php @@ -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'); } } \ No newline at end of file diff --git a/tests/test_dbs/FB_TEST_DB.FDB b/tests/test_dbs/FB_TEST_DB.FDB index 1b2c315..d80e754 100755 Binary files a/tests/test_dbs/FB_TEST_DB.FDB and b/tests/test_dbs/FB_TEST_DB.FDB differ