mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-30 21:40:43 +02:00
Merge branch 'develop-olympus' into develop
* develop-olympus: [develop-olympus] Make this test run on windows with backslash-paths. [bug/56965] Redirect fails with directory traversal [bug/58685] Correct spelling errors in append_sid() comments. [bug/58025] Search robots are now redirected if they send a SID in the request
This commit is contained in:
@@ -256,7 +256,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');
|
||||
|
Reference in New Issue
Block a user