diff options
Diffstat (limited to 'tests/lib/AutoLoaderTest.php')
-rw-r--r-- | tests/lib/AutoLoaderTest.php | 16 |
1 files changed, 1 insertions, 15 deletions
diff --git a/tests/lib/AutoLoaderTest.php b/tests/lib/AutoLoaderTest.php index a97ba3f768e..38ba29bc085 100644 --- a/tests/lib/AutoLoaderTest.php +++ b/tests/lib/AutoLoaderTest.php @@ -19,18 +19,6 @@ class AutoLoaderTest extends TestCase { $this->loader = new \OC\AutoLoader([]); } - public function testLeadingSlashOnClassName() { - $this->assertEquals([ - \OC::$SERVERROOT . '/lib/public/files/storage/local.php', - ], $this->loader->findClass('\OCP\Files\Storage\Local')); - } - - public function testNoLeadingSlashOnClassName() { - $this->assertEquals([ - \OC::$SERVERROOT . '/lib/public/files/storage/local.php', - ], $this->loader->findClass('OCP\Files\Storage\Local')); - } - public function testLegacyPath() { $this->assertEquals([ \OC::$SERVERROOT . '/lib/private/legacy/files.php', @@ -50,9 +38,7 @@ class AutoLoaderTest extends TestCase { } public function testLoadPublicNamespace() { - $this->assertEquals([ - \OC::$SERVERROOT . '/lib/public/foo/bar.php', - ], $this->loader->findClass('OCP\Foo\Bar')); + $this->assertEquals([], $this->loader->findClass('OCP\Foo\Bar')); } public function testLoadAppNamespace() { |