Fix broken paths to test databases

This commit is contained in:
Timothy Warren 2012-02-07 08:31:01 -05:00
parent d3fd23af59
commit 444a8a1778
3 changed files with 2 additions and 2 deletions

View File

@ -32,7 +32,7 @@ class FirebirdTest extends UnitTestCase {
function TestConnection()
{
$this->firebird = new Firebird("../test_dbs/FB_TEST_DB.FDB");
$this->firebird = new Firebird(dirname(__FILE__)."/../test_dbs/FB_TEST_DB.FDB");
$this->assertIsA($this->firebird, 'Firebird');
}
}

View File

@ -32,7 +32,7 @@ class SQLiteTest extends UnitTestCase {
function TestConnection()
{
$this->sqlite = new SQLite("../test_dbs/test_sqlite.db");
$this->sqlite = new SQLite("./test_dbs/test_sqlite.db");
$this->assertIsA($this->sqlite, 'SQLite');
}
}

BIN
tests/test_dbs/FB_TEST_DB.FDB Normal file → Executable file

Binary file not shown.