aboutsummaryrefslogtreecommitdiffstats
path: root/tests/text_formatter/s9e/renderer_test.php
diff options
context:
space:
mode:
Diffstat (limited to 'tests/text_formatter/s9e/renderer_test.php')
-rw-r--r--tests/text_formatter/s9e/renderer_test.php7
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/text_formatter/s9e/renderer_test.php b/tests/text_formatter/s9e/renderer_test.php
index c69a93dbc1..8835a80d9d 100644
--- a/tests/text_formatter/s9e/renderer_test.php
+++ b/tests/text_formatter/s9e/renderer_test.php
@@ -443,4 +443,11 @@ class phpbb_textformatter_s9e_renderer_test extends phpbb_test_case
&& isset($vars['self'])
&& $vars['self'] instanceof \phpbb\textformatter\s9e\renderer;
}
+
+ public function test_get_renderer()
+ {
+ $container = $this->get_test_case_helpers()->set_s9e_services();
+ $renderer = $container->get('text_formatter.renderer');
+ $this->assertInstanceOf('s9e\\TextFormatter\\Renderer', $renderer->get_renderer());
+ }
}