Fix broken paths to test databases
This commit is contained in:
parent
d3fd23af59
commit
444a8a1778
@ -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');
|
||||
}
|
||||
}
|
@ -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
BIN
tests/test_dbs/FB_TEST_DB.FDB
Normal file → Executable file
Binary file not shown.
Loading…
Reference in New Issue
Block a user