diff options
author | Erik Frèrejean <erikfrerejean@phpbb.com> | 2011-01-31 13:54:55 +0100 |
---|---|---|
committer | Erik Frèrejean <erikfrerejean@phpbb.com> | 2011-01-31 14:02:30 +0100 |
commit | 2e5421230968170477b7fbadd58c01b26ade0590 (patch) | |
tree | 9fb11cc9cd70ec6becc51391a160de4057e42a49 /tests/config/db_test.php | |
parent | d06657c99573e3975e735e8cb7f8cc5ccb510851 (diff) | |
download | forums-2e5421230968170477b7fbadd58c01b26ade0590.tar forums-2e5421230968170477b7fbadd58c01b26ade0590.tar.gz forums-2e5421230968170477b7fbadd58c01b26ade0590.tar.bz2 forums-2e5421230968170477b7fbadd58c01b26ade0590.tar.xz forums-2e5421230968170477b7fbadd58c01b26ade0590.zip |
[ticket/10011] Tests can't be ran on PHP < 5.3
Apply the `__DIR__` fix to some remaining Ascraeus tests
PHPBB3-10011
Diffstat (limited to 'tests/config/db_test.php')
-rw-r--r-- | tests/config/db_test.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/config/db_test.php b/tests/config/db_test.php index e291c05c8f..e0d5252f19 100644 --- a/tests/config/db_test.php +++ b/tests/config/db_test.php @@ -7,7 +7,7 @@ * */ -require_once __DIR__ . '/../mock/cache.php'; +require_once dirname(__FILE__) . '/../mock/cache.php'; class phpbb_config_db_test extends phpbb_database_test_case { @@ -17,7 +17,7 @@ class phpbb_config_db_test extends phpbb_database_test_case public function getDataSet() { - return $this->createXMLDataSet(__DIR__ . '/fixtures/config.xml'); + return $this->createXMLDataSet(dirname(__FILE__) . '/fixtures/config.xml'); } public function setUp() |