mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-07 01:06:48 +02:00
[ticket/16955] Update tests to support small changes to docblocks/types
PHPBB3-16955
This commit is contained in:
@@ -120,21 +120,11 @@ class phpbb_template_template_test_case extends phpbb_test_case
|
||||
// Test the engine can be used
|
||||
$this->setup_engine();
|
||||
|
||||
$this->template->clear_cache();
|
||||
|
||||
global $phpbb_filesystem;
|
||||
|
||||
$phpbb_filesystem = new \phpbb\filesystem\filesystem();
|
||||
}
|
||||
|
||||
protected function tearDown(): void
|
||||
{
|
||||
if ($this->template)
|
||||
{
|
||||
$this->template->clear_cache();
|
||||
}
|
||||
}
|
||||
|
||||
protected function run_template($file, array $vars, array $block_vars, array $destroy, $expected, $lang_vars = array())
|
||||
{
|
||||
$this->template->set_filenames(array('test' => $file));
|
||||
|
Reference in New Issue
Block a user