diff options
author | Michael Gapczynski <mtgap@owncloud.com> | 2013-03-07 11:47:24 -0500 |
---|---|---|
committer | Michael Gapczynski <mtgap@owncloud.com> | 2013-03-07 11:47:24 -0500 |
commit | ef2eb10ea4ea66b5bcaf420aa38cdeae55b4636b (patch) | |
tree | e667843523c7ce9d9dec7d030b39e8e7c4120e0e /tests/lib | |
parent | a5cab28bea6188ce840d7d115064c4780531e13d (diff) | |
download | nextcloud-server-ef2eb10ea4ea66b5bcaf420aa38cdeae55b4636b.tar.gz nextcloud-server-ef2eb10ea4ea66b5bcaf420aa38cdeae55b4636b.zip |
Change findById to findByStorageId in mount test
Diffstat (limited to 'tests/lib')
-rw-r--r-- | tests/lib/files/mount.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/lib/files/mount.php b/tests/lib/files/mount.php index 6a5c025b0e1..a3dc06cc668 100644 --- a/tests/lib/files/mount.php +++ b/tests/lib/files/mount.php @@ -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)); |