diff options
author | Nicofuma <github@nicofuma.fr> | 2015-05-14 16:33:39 +0200 |
---|---|---|
committer | Nicofuma <github@nicofuma.fr> | 2015-05-14 16:33:39 +0200 |
commit | 737affcbb2f2e4f7ee5d8182a4e8cac599265ef4 (patch) | |
tree | 844c56588a39778731d9feac1057da7b7fb57c1c /tests | |
parent | 11167f606015bc4663fa5a122ca95436ff412afc (diff) | |
download | forums-737affcbb2f2e4f7ee5d8182a4e8cac599265ef4.tar forums-737affcbb2f2e4f7ee5d8182a4e8cac599265ef4.tar.gz forums-737affcbb2f2e4f7ee5d8182a4e8cac599265ef4.tar.bz2 forums-737affcbb2f2e4f7ee5d8182a4e8cac599265ef4.tar.xz forums-737affcbb2f2e4f7ee5d8182a4e8cac599265ef4.zip |
[ticket/13839] Don't be dependent on the phpBB root directory name in tests
PHPBB3-13839
Diffstat (limited to 'tests')
-rw-r--r-- | tests/template/asset_test.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/template/asset_test.php b/tests/template/asset_test.php index f6ce0fe241..3d2fdd8959 100644 --- a/tests/template/asset_test.php +++ b/tests/template/asset_test.php @@ -22,7 +22,7 @@ class phpbb_template_asset_test extends phpbb_test_case array('.', 'foo/bar', 'foo/bar'), array('../', 'foo/bar', 'foo/bar'), array('./phpBB/', 'foo/bar', 'foo/bar'), - array('../', __DIR__ . '/foo/bar', '../phpbb/tests/template/foo/bar'), + array('../', __DIR__ . '/foo/bar', '../' . basename(dirname(dirname(__DIR__))) . '/tests/template/foo/bar'), array('./', __DIR__ . '/foo/bar', './tests/template/foo/bar'), array('./phpBB/', __DIR__ . '/foo/bar', 'tests/template/foo/bar'), ); |