diff options
author | Robin Appelman <icewind@owncloud.com> | 2014-08-19 16:03:09 +0200 |
---|---|---|
committer | Robin Appelman <icewind@owncloud.com> | 2014-08-31 10:47:50 +0200 |
commit | 2fcedcc50382127492ca0bf071e8e1bbe5736b16 (patch) | |
tree | 075e97d1056dd4fdacacb0db5939be2280fe3377 /apps/files_sharing | |
parent | 79d896e830d9076593e1e5366a52cd0061061fed (diff) | |
download | nextcloud-server-2fcedcc50382127492ca0bf071e8e1bbe5736b16.tar.gz nextcloud-server-2fcedcc50382127492ca0bf071e8e1bbe5736b16.zip |
fix test
Diffstat (limited to 'apps/files_sharing')
-rw-r--r-- | apps/files_sharing/tests/externalstorage.php | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/apps/files_sharing/tests/externalstorage.php b/apps/files_sharing/tests/externalstorage.php index 1258148af53..2e93afa1987 100644 --- a/apps/files_sharing/tests/externalstorage.php +++ b/apps/files_sharing/tests/externalstorage.php @@ -65,6 +65,7 @@ class Test_Files_Sharing_External_Storage extends \PHPUnit_Framework_TestCase { * @dataProvider optionsProvider */ public function testStorageMountOptions($inputUri, $baseUri) { + $certificateManager = \OC::$server->getCertificateManager(); $storage = new TestSharingExternalStorage( array( 'remote' => $inputUri, @@ -72,7 +73,8 @@ class Test_Files_Sharing_External_Storage extends \PHPUnit_Framework_TestCase { 'mountpoint' => 'remoteshare', 'token' => 'abcdef', 'password' => '', - 'manager' => null + 'manager' => null, + 'certificateManager' => $certificateManager ) ); $this->assertEquals($baseUri, $storage->getBaseUri()); |