diff options
Diffstat (limited to 'tests/lib/LegacyHelperTest.php')
-rw-r--r-- | tests/lib/LegacyHelperTest.php | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/tests/lib/LegacyHelperTest.php b/tests/lib/LegacyHelperTest.php index faea95190ec..f1e22ea600e 100644 --- a/tests/lib/LegacyHelperTest.php +++ b/tests/lib/LegacyHelperTest.php @@ -76,19 +76,6 @@ class LegacyHelperTest extends \Test\TestCase { ]; } - function testIsSubDirectory() { - $result = OC_Helper::isSubDirectory("./data/", "/anotherDirectory/"); - $this->assertFalse($result); - - $result = OC_Helper::isSubDirectory("./data/", "./data/"); - $this->assertTrue($result); - - mkdir("data/TestSubdirectory", 0777); - $result = OC_Helper::isSubDirectory("data/TestSubdirectory/", "data"); - rmdir("data/TestSubdirectory"); - $this->assertTrue($result); - } - function testMb_array_change_key_case() { $arrayStart = array( "Foo" => "bar", |