aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/cron/provider_test.php2
-rw-r--r--tests/extension/finder_test.php4
2 files changed, 3 insertions, 3 deletions
diff --git a/tests/cron/provider_test.php b/tests/cron/provider_test.php
index 3a0545ffc6..662bb34c13 100644
--- a/tests/cron/provider_test.php
+++ b/tests/cron/provider_test.php
@@ -19,7 +19,7 @@ class phpbb_cron_provider_test extends PHPUnit_Framework_TestCase
'testext' => array(
'ext_name' => 'testext',
'ext_active' => true,
- 'ext_path' => dirname(__FILE__) . '/ext/testext/'
+ 'ext_path' => 'ext/testext/'
),
));
$this->provider = new phpbb_cron_provider($this->extension_manager);
diff --git a/tests/extension/finder_test.php b/tests/extension/finder_test.php
index 8d7d38d4d8..9031e1cb47 100644
--- a/tests/extension/finder_test.php
+++ b/tests/extension/finder_test.php
@@ -23,12 +23,12 @@ class phpbb_extension_finder_test extends phpbb_test_case
'foo' => array(
'ext_name' => 'foo',
'ext_active' => '1',
- 'ext_path' => dirname(__FILE__) . '/ext/foo/',
+ 'ext_path' => 'ext/foo/',
),
'bar' => array(
'ext_name' => 'bar',
'ext_active' => '1',
- 'ext_path' => dirname(__FILE__) . '/ext/bar/',
+ 'ext_path' => 'ext/bar/',
),
));