diff options
author | 2018-12-30 11:36:08 +0100 | |
---|---|---|
committer | 2019-01-02 20:19:56 +0100 | |
commit | c6cc6ba8d8f946eb60bb47c6ca26c49bb211e1bf (patch) | |
tree | d1cc56f7b2bf096dbd8f971b0bbbfe4b95fe445d /tests/template/template_test.php | |
parent | [ticket/14948] Require PHP 7.1 and update dependencies (diff) | |
download | phpbb-c6cc6ba8d8f946eb60bb47c6ca26c49bb211e1bf.tar.gz phpbb-c6cc6ba8d8f946eb60bb47c6ca26c49bb211e1bf.tar.bz2 phpbb-c6cc6ba8d8f946eb60bb47c6ca26c49bb211e1bf.zip |
[ticket/14948] Adjust calls for twig and phpunit updates
PHPBB3-14948
Diffstat (limited to 'tests/template/template_test.php')
-rw-r--r-- | tests/template/template_test.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/template/template_test.php b/tests/template/template_test.php index 727f35e9d2..01c132e032 100644 --- a/tests/template/template_test.php +++ b/tests/template/template_test.php @@ -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'); } |