Merge remote branch 'github-nickvergessen/develop-olympus' into develop-olympus

* github-nickvergessen/develop-olympus:
  [develop-olympus] Make this test run on windows with backslash-paths.
This commit is contained in:
Nils Adermann 2010-03-26 18:27:39 +01:00
commit d79cff235c

View file

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