aboutsummaryrefslogtreecommitdiffstats
path: root/tests/template/template_includecss_test.php
diff options
context:
space:
mode:
authorNathan Guse <nathaniel.guse@gmail.com>2013-09-15 18:55:18 -0500
committerNathan Guse <nathaniel.guse@gmail.com>2013-09-15 18:55:18 -0500
commitcd141883a59ca474c844f9e206333dbd79699695 (patch)
tree87b3bb3feb6d0b55a913042bd1787f4113449761 /tests/template/template_includecss_test.php
parent8e02f9bd7d84dd798cae37e880db1c70fb323acb (diff)
downloadforums-cd141883a59ca474c844f9e206333dbd79699695.tar
forums-cd141883a59ca474c844f9e206333dbd79699695.tar.gz
forums-cd141883a59ca474c844f9e206333dbd79699695.tar.bz2
forums-cd141883a59ca474c844f9e206333dbd79699695.tar.xz
forums-cd141883a59ca474c844f9e206333dbd79699695.zip
[ticket/11832] Correct paths in tests
PHPBB3-11832
Diffstat (limited to 'tests/template/template_includecss_test.php')
-rw-r--r--tests/template/template_includecss_test.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/template/template_includecss_test.php b/tests/template/template_includecss_test.php
index f8999ad1a9..c00aa8e9bb 100644
--- a/tests/template/template_includecss_test.php
+++ b/tests/template/template_includecss_test.php
@@ -18,8 +18,8 @@ class phpbb_template_template_includecss_test extends phpbb_template_template_te
// Prepare correct result
$scripts = array(
- '<link href="' . $this->test_path . '/templates/child_only.css?assets_version=1" rel="stylesheet" type="text/css" media="screen, projection" />',
- '<link href="' . $this->test_path . '/parent_templates/parent_only.css?assets_version=1" rel="stylesheet" type="text/css" media="screen, projection" />',
+ '<link href="' . $this->phpbb_filesystem->get_web_root_path() . 'tests/template/templates/child_only.css?assets_version=1" rel="stylesheet" type="text/css" media="screen, projection" />',
+ '<link href="' . $this->phpbb_filesystem->get_web_root_path() . 'tests/template/parent_templates/parent_only.css?assets_version=1" rel="stylesheet" type="text/css" media="screen, projection" />',
);
// Run test