diff options
author | Morris Jobke <hey@morrisjobke.de> | 2015-11-26 10:25:43 +0100 |
---|---|---|
committer | Morris Jobke <hey@morrisjobke.de> | 2015-11-26 10:25:43 +0100 |
commit | 4fcab9869497eb0109506069305f858a1a4a5a4e (patch) | |
tree | 2761d30219d5b07641c6b40fa3ec56f286bc7e26 /tests | |
parent | dd18ea611bd0e66969df22aedddc98cddbba4984 (diff) | |
download | nextcloud-server-4fcab9869497eb0109506069305f858a1a4a5a4e.tar.gz nextcloud-server-4fcab9869497eb0109506069305f858a1a4a5a4e.zip |
Remove unused internal methods
* removes OC_Helper::mb_substr_replace and OC_Helper::mb_str_replace
* keeps public interface wrapper working as expected
Diffstat (limited to 'tests')
-rw-r--r-- | tests/lib/helper.php | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/tests/lib/helper.php b/tests/lib/helper.php index ca3e0e46d82..85655c69e63 100644 --- a/tests/lib/helper.php +++ b/tests/lib/helper.php @@ -164,18 +164,6 @@ class Test_Helper extends \Test\TestCase { $this->assertEquals($result, $expected); } - function testMb_substr_replace() { - $result = OC_Helper::mb_substr_replace("This is a teststring", "string", 5); - $expected = "This string is a teststring"; - $this->assertEquals($result, $expected); - } - - function testMb_str_replace() { - $result = OC_Helper::mb_str_replace("teststring", "string", "This is a teststring"); - $expected = "This is a string"; - $this->assertEquals($result, $expected); - } - function testRecursiveArraySearch() { $haystack = array( "Foo" => "own", |