diff options
Diffstat (limited to 'tests/text_formatter')
-rw-r--r-- | tests/text_formatter/s9e/utils_test.php | 29 |
1 files changed, 0 insertions, 29 deletions
diff --git a/tests/text_formatter/s9e/utils_test.php b/tests/text_formatter/s9e/utils_test.php index 6f0ef54182..69f8682cac 100644 --- a/tests/text_formatter/s9e/utils_test.php +++ b/tests/text_formatter/s9e/utils_test.php @@ -46,35 +46,6 @@ class phpbb_textformatter_s9e_utils_test extends phpbb_test_case } /** - * @dataProvider get_remove_formatting_tests - */ - public function test_remove_formatting($original, $expected) - { - $container = $this->get_test_case_helpers()->set_s9e_services(); - $utils = $container->get('text_formatter.utils'); - - $this->assertSame($expected, $utils->remove_formatting($original)); - } - - public function get_remove_formatting_tests() - { - return array( - array( - '<t>Plain text</t>', - 'Plain text' - ), - array( - "<t>Multi<br/>\nline</t>", - "Multi\nline" - ), - array( - '<r><B><s>[b]</s>bold<e>[/b]</e></B></r>', - 'bold' - ) - ); - } - - /** * @dataProvider get_clean_formatting_tests */ public function test_clean_formatting($original, $expected) |