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:
@@ -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());
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user