]> source.dussan.org Git - nextcloud-server.git/commitdiff
Change findById to findByStorageId in mount test
authorMichael Gapczynski <mtgap@owncloud.com>
Thu, 7 Mar 2013 16:47:24 +0000 (11:47 -0500)
committerMichael Gapczynski <mtgap@owncloud.com>
Thu, 7 Mar 2013 16:47:24 +0000 (11:47 -0500)
tests/lib/files/mount.php

index 6a5c025b0e17035ea7a7b2e1c0a8fa57fa5d9cd5..a3dc06cc66887b7a8cd7f3d111b1f3b45337432d 100644 (file)
@@ -39,7 +39,7 @@ class Mount extends \PHPUnit_Framework_TestCase {
                $this->assertEquals(2, count(\OC\Files\Mount::findIn('/')));
 
                $id = $mount->getStorageId();
-               $this->assertEquals(array($mount), \OC\Files\Mount::findById($id));
+               $this->assertEquals(array($mount), \OC\Files\Mount::findByStorageId($id));
 
                $mount2 = new \OC\Files\Mount($storage, '/foo/bar');
                $this->assertEquals(array($mount, $mount2), \OC\Files\Mount::findByStorageId($id));