diff options
Diffstat (limited to 'tests/template/template_allfolder_test.php')
| -rw-r--r-- | tests/template/template_allfolder_test.php | 4 | 
1 files changed, 2 insertions, 2 deletions
| diff --git a/tests/template/template_allfolder_test.php b/tests/template/template_allfolder_test.php index 63a6ef08ea..a9a8ecc287 100644 --- a/tests/template/template_allfolder_test.php +++ b/tests/template/template_allfolder_test.php @@ -40,7 +40,7 @@ class phpbb_template_allfolder_test extends phpbb_template_template_test_case  				new phpbb_mock_request()  			),  			$filesystem, -			$this->getMock('\phpbb\request\request'), +			$this->createMock('\phpbb\request\request'),  			$phpbb_root_path,  			$phpEx  		); @@ -75,7 +75,7 @@ class phpbb_template_allfolder_test extends phpbb_template_template_test_case  				'autoescape'	=> false,  			)  		); -		$this->template = new \phpbb\template\twig\twig($path_helper, $config, $context, $twig, $cache_path, $this->user, array(new \phpbb\template\twig\extension($context, $this->user)), $this->extension_manager); +		$this->template = new \phpbb\template\twig\twig($path_helper, $config, $context, $twig, $cache_path, $this->user, array(new \phpbb\template\twig\extension($context, $twig, $this->user)), $this->extension_manager);  		$twig->setLexer(new \phpbb\template\twig\lexer($twig));  		$this->template_path = $this->test_path . '/templates'; | 
