diff options
author | Roeland Jago Douma <rullzer@owncloud.com> | 2016-05-19 16:04:09 +0200 |
---|---|---|
committer | Vincent Petry <pvince81@owncloud.com> | 2016-05-20 16:35:07 +0200 |
commit | 54b637e83c87086e30226050f4d167e8cec57218 (patch) | |
tree | afd1a59d69364c5098fe5a4018e515d633f4c773 /tests/lib/AutoLoaderTest.php | |
parent | c9ad60defc7961a83e14c1a5518db5e26caeff1f (diff) | |
download | nextcloud-server-54b637e83c87086e30226050f4d167e8cec57218.tar.gz nextcloud-server-54b637e83c87086e30226050f4d167e8cec57218.zip |
Fix unit tests
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() { |