diff options
author | JoshyPHP <s9e.dev@gmail.com> | 2015-03-25 01:13:31 +0100 |
---|---|---|
committer | JoshyPHP <s9e.dev@gmail.com> | 2015-04-02 19:16:04 +0200 |
commit | 2a462bb7e43b848d0277bd27e14ca4d645230eeb (patch) | |
tree | 28bb0e2776a3b98844dbc3016a83bb42837a8887 /tests/text_formatter | |
parent | 37fedc656fbdeb36b098375201042eed4c7e7229 (diff) | |
download | forums-2a462bb7e43b848d0277bd27e14ca4d645230eeb.tar forums-2a462bb7e43b848d0277bd27e14ca4d645230eeb.tar.gz forums-2a462bb7e43b848d0277bd27e14ca4d645230eeb.tar.bz2 forums-2a462bb7e43b848d0277bd27e14ca4d645230eeb.tar.xz forums-2a462bb7e43b848d0277bd27e14ca4d645230eeb.zip |
[ticket/11768] Removed get_parser() / get_renderer() accessors
There's no need to access the s9e\TextFormatter objects outside of events.
PHPBB3-11768
Diffstat (limited to 'tests/text_formatter')
-rw-r--r-- | tests/text_formatter/s9e/parser_test.php | 7 | ||||
-rw-r--r-- | tests/text_formatter/s9e/renderer_test.php | 7 |
2 files changed, 0 insertions, 14 deletions
diff --git a/tests/text_formatter/s9e/parser_test.php b/tests/text_formatter/s9e/parser_test.php index 725ff42bfd..71433e209f 100644 --- a/tests/text_formatter/s9e/parser_test.php +++ b/tests/text_formatter/s9e/parser_test.php @@ -167,11 +167,4 @@ class phpbb_textformatter_s9e_parser_test extends phpbb_test_case ) ); } - - 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()); - } } diff --git a/tests/text_formatter/s9e/renderer_test.php b/tests/text_formatter/s9e/renderer_test.php index b93fd8bbe6..ce2fccd9b7 100644 --- a/tests/text_formatter/s9e/renderer_test.php +++ b/tests/text_formatter/s9e/renderer_test.php @@ -354,11 +354,4 @@ class phpbb_textformatter_s9e_renderer_test extends phpbb_test_case ); } } - - 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()); - } } |