aboutsummaryrefslogtreecommitdiffstats
path: root/tests/text_formatter/s9e/utils_test.php
diff options
context:
space:
mode:
authorJoshyPHP <s9e.dev@gmail.com>2015-03-26 15:28:04 +0100
committerJoshyPHP <s9e.dev@gmail.com>2015-04-02 19:16:04 +0200
commit55c3fc02cfe1ce151bfb65c31ec72fc75f9d7872 (patch)
tree424a91afdbb04be94201bbf08ea95f975d8f9503 /tests/text_formatter/s9e/utils_test.php
parentf75f63b264b2005faedb699dd867bd1d9c429a09 (diff)
downloadforums-55c3fc02cfe1ce151bfb65c31ec72fc75f9d7872.tar
forums-55c3fc02cfe1ce151bfb65c31ec72fc75f9d7872.tar.gz
forums-55c3fc02cfe1ce151bfb65c31ec72fc75f9d7872.tar.bz2
forums-55c3fc02cfe1ce151bfb65c31ec72fc75f9d7872.tar.xz
forums-55c3fc02cfe1ce151bfb65c31ec72fc75f9d7872.zip
[ticket/11768] Updated utils service
Updated docblocks. Removed remove_formatting() because it overlaps with clean_formatting() PHPBB3-11768
Diffstat (limited to 'tests/text_formatter/s9e/utils_test.php')
-rw-r--r--tests/text_formatter/s9e/utils_test.php29
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)