1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-07-30 21:40:43 +02:00

[ticket/11768] Restored get_parser() / get_renderer()

PHPBB3-11768
This commit is contained in:
JoshyPHP
2015-03-27 01:12:57 +01:00
parent 0f30301a0c
commit 3e04e643df
4 changed files with 34 additions and 0 deletions

View File

@@ -260,4 +260,11 @@ class phpbb_textformatter_s9e_parser_test extends phpbb_test_case
&& isset($vars['xml'])
&& $vars['xml'] === '<t>...</t>';
}
public function test_get_parser()
{
$container = $this->get_test_case_helpers()->set_s9e_services();
$parser = $container->get('text_formatter.parser');
$this->assertInstanceOf('s9e\\TextFormatter\\Parser', $parser->get_parser());
}
}