diff options
author | Lukas Reschke <lukas@statuscode.ch> | 2016-08-23 22:15:21 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-08-23 22:15:21 +0200 |
commit | 805fc222764dd6283d5eaf60c1c71a2f0a4b48d7 (patch) | |
tree | a1163e3cfcedb1f1098484e89860f64fb2e96b27 /tests | |
parent | e5eff3c24485615bbeeb176a4e30fd79b909e641 (diff) | |
parent | fa980af53c2ec3f024a5f4e25d2011e95c6e83e7 (diff) | |
download | nextcloud-server-805fc222764dd6283d5eaf60c1c71a2f0a4b48d7.tar.gz nextcloud-server-805fc222764dd6283d5eaf60c1c71a2f0a4b48d7.zip |
Merge pull request #1008 from nextcloud/shared-storage-non-recursive-10
[10] Fix shared storage recursive setup
Diffstat (limited to 'tests')
-rw-r--r-- | tests/lib/Files/Mount/MountPointTest.php | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/lib/Files/Mount/MountPointTest.php b/tests/lib/Files/Mount/MountPointTest.php index 392f10c7170..799f441a1ab 100644 --- a/tests/lib/Files/Mount/MountPointTest.php +++ b/tests/lib/Files/Mount/MountPointTest.php @@ -16,9 +16,9 @@ class MountPointTest extends \Test\TestCase { ->method('getId') ->will($this->returnValue(123)); - $loader = $this->getMock('\OCP\Files\Storage\IStorageFactory'); + $loader = $this->getMock('\OC\Files\Storage\StorageFactory'); $loader->expects($this->once()) - ->method('getInstance') + ->method('wrap') ->will($this->returnValue($storage)); $mountPoint = new \OC\Files\Mount\MountPoint( @@ -38,9 +38,9 @@ class MountPointTest extends \Test\TestCase { } public function testInvalidStorage() { - $loader = $this->getMock('\OCP\Files\Storage\IStorageFactory'); + $loader = $this->getMock('\OC\Files\Storage\StorageFactory'); $loader->expects($this->once()) - ->method('getInstance') + ->method('wrap') ->will($this->throwException(new \Exception('Test storage init exception'))); $called = false; |