aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoas Schilling <nickvergessen@gmx.de>2010-03-26 14:46:18 +0100
committerJoas Schilling <nickvergessen@gmx.de>2010-03-26 14:46:18 +0100
commitc71b1245ecf60d7b8b1143b1f558fcd2a974383a (patch)
tree134392e319199dc23d2ef54b4a4526e1f019fc19
parentb3ff3be0dc56fdf32a7ae34b271b9016efa99c3b (diff)
downloadforums-c71b1245ecf60d7b8b1143b1f558fcd2a974383a.tar
forums-c71b1245ecf60d7b8b1143b1f558fcd2a974383a.tar.gz
forums-c71b1245ecf60d7b8b1143b1f558fcd2a974383a.tar.bz2
forums-c71b1245ecf60d7b8b1143b1f558fcd2a974383a.tar.xz
forums-c71b1245ecf60d7b8b1143b1f558fcd2a974383a.zip
[develop-olympus] Make this test run on windows with backslash-paths.
-rw-r--r--tests/template/template.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/template/template.php b/tests/template/template.php
index df12f92046..145fe8de61 100644
--- a/tests/template/template.php
+++ b/tests/template/template.php
@@ -264,7 +264,7 @@ class phpbb_template_template_test extends phpbb_test_case
$this->template->set_filenames(array('test' => $filename));
$this->assertFileNotExists($this->template_path . '/' . $filename, 'Testing missing file, file cannot exist');
- $expecting = sprintf('template->_tpl_load_file(): File %s does not exist or is empty', realpath($this->template_path) . '/' . $filename);
+ $expecting = sprintf('template->_tpl_load_file(): File %s does not exist or is empty', realpath($this->template_path . '/../') . '/templates/' . $filename);
$this->setExpectedTriggerError(E_USER_ERROR, $expecting);
$this->display('test');