aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorJoshyPHP <s9e.dev@gmail.com>2015-03-25 01:13:31 +0100
committerJoshyPHP <s9e.dev@gmail.com>2015-04-02 19:16:04 +0200
commit2a462bb7e43b848d0277bd27e14ca4d645230eeb (patch)
tree28bb0e2776a3b98844dbc3016a83bb42837a8887 /tests
parent37fedc656fbdeb36b098375201042eed4c7e7229 (diff)
downloadforums-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')
-rw-r--r--tests/text_formatter/s9e/parser_test.php7
-rw-r--r--tests/text_formatter/s9e/renderer_test.php7
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());
- }
}