diff options
author | JoshyPHP <s9e.dev@gmail.com> | 2015-03-27 01:12:57 +0100 |
---|---|---|
committer | JoshyPHP <s9e.dev@gmail.com> | 2015-04-02 19:16:04 +0200 |
commit | 3e04e643df4ca5463450df5d94f3caca3e5596c0 (patch) | |
tree | 9c7a8810d9e38986fa96a515e6d1afdcba4a4a4e /tests/text_formatter/s9e/parser_test.php | |
parent | 0f30301a0cf01c609cdcd5e4d777a47872a4dcba (diff) | |
download | forums-3e04e643df4ca5463450df5d94f3caca3e5596c0.tar forums-3e04e643df4ca5463450df5d94f3caca3e5596c0.tar.gz forums-3e04e643df4ca5463450df5d94f3caca3e5596c0.tar.bz2 forums-3e04e643df4ca5463450df5d94f3caca3e5596c0.tar.xz forums-3e04e643df4ca5463450df5d94f3caca3e5596c0.zip |
[ticket/11768] Restored get_parser() / get_renderer()
PHPBB3-11768
Diffstat (limited to 'tests/text_formatter/s9e/parser_test.php')
-rw-r--r-- | tests/text_formatter/s9e/parser_test.php | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/text_formatter/s9e/parser_test.php b/tests/text_formatter/s9e/parser_test.php index 74182bda47..2904df25b4 100644 --- a/tests/text_formatter/s9e/parser_test.php +++ b/tests/text_formatter/s9e/parser_test.php @@ -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()); + } } |