From: Michael Gapczynski Date: Thu, 7 Mar 2013 16:47:24 +0000 (-0500) Subject: Change findById to findByStorageId in mount test X-Git-Tag: v5.0.0RC3~4^2 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=ef2eb10ea4ea66b5bcaf420aa38cdeae55b4636b;p=nextcloud-server.git Change findById to findByStorageId in mount test --- 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));