mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-30 21:40:43 +02:00
[ticket/14948] Adjust calls for twig and phpunit updates
PHPBB3-14948
This commit is contained in:
@@ -521,7 +521,7 @@ class phpbb_template_template_test extends phpbb_template_template_test_case
|
||||
$this->template->set_filenames(array('test' => $filename));
|
||||
$this->assertFileNotExists($this->template_path . '/' . $filename, 'Testing missing file, file cannot exist');
|
||||
|
||||
$this->setExpectedException('Twig_Error_Loader');
|
||||
$this->expectException('Twig_Error_Loader');
|
||||
|
||||
$this->display('test');
|
||||
}
|
||||
@@ -529,7 +529,7 @@ class phpbb_template_template_test extends phpbb_template_template_test_case
|
||||
|
||||
public function test_invalid_handle()
|
||||
{
|
||||
$this->setExpectedException('Twig_Error_Loader');
|
||||
$this->expectException('Twig_Error_Loader');
|
||||
|
||||
$this->display('test');
|
||||
}
|
||||
|
Reference in New Issue
Block a user