1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-05-28 10:09:15 +02:00

[ticket/13839] Don't be dependent on the phpBB root directory name in tests

PHPBB3-13839
This commit is contained in:
Nicofuma 2015-05-14 16:33:39 +02:00
parent 11167f6060
commit 737affcbb2

View File

@ -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'),
);