From 444a8a17785c89cb80069a34d130b9f5f12fd4f4 Mon Sep 17 00:00:00 2001 From: Timothy Warren Date: Tue, 7 Feb 2012 08:31:01 -0500 Subject: [PATCH] Fix broken paths to test databases --- tests/databases/firebird.php | 2 +- tests/databases/sqlite.php | 2 +- tests/test_dbs/FB_TEST_DB.FDB | Bin 802816 -> 802816 bytes 3 files changed, 2 insertions(+), 2 deletions(-) mode change 100644 => 100755 tests/test_dbs/FB_TEST_DB.FDB diff --git a/tests/databases/firebird.php b/tests/databases/firebird.php index 45b910f..343088d 100644 --- a/tests/databases/firebird.php +++ b/tests/databases/firebird.php @@ -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'); } } \ No newline at end of file diff --git a/tests/databases/sqlite.php b/tests/databases/sqlite.php index 50f5a4f..28ea562 100644 --- a/tests/databases/sqlite.php +++ b/tests/databases/sqlite.php @@ -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'); } } \ No newline at end of file diff --git a/tests/test_dbs/FB_TEST_DB.FDB b/tests/test_dbs/FB_TEST_DB.FDB old mode 100644 new mode 100755 index f4a8e1e151eef9bd80dee2623a6f2e8632e15e19..1b2c3157667e17383eab3d144b0b5a8956245582 GIT binary patch delta 57 zcmV~$%K<ltJ%=qoF{;p%nTQtAO6ty|K4nk&Mw0ZBWso9OMww)m JMb?+?yMC9a4wnD` delta 57 zcmV~$y8%Ez5CBn!_3woXCJ_v4wV1^