aboutsummaryrefslogtreecommitdiffstats
path: root/tests/text_formatter/s9e/parser_test.php
diff options
context:
space:
mode:
authorJoshyPHP <s9e.dev@gmail.com>2015-03-27 01:12:57 +0100
committerJoshyPHP <s9e.dev@gmail.com>2015-04-02 19:16:04 +0200
commit3e04e643df4ca5463450df5d94f3caca3e5596c0 (patch)
tree9c7a8810d9e38986fa96a515e6d1afdcba4a4a4e /tests/text_formatter/s9e/parser_test.php
parent0f30301a0cf01c609cdcd5e4d777a47872a4dcba (diff)
downloadforums-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.php7
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());
+ }
}