mirror of
https://github.com/nextcloud/server.git
synced 2026-04-25 08:08:33 -04:00
fix test
This commit is contained in:
parent
79d896e830
commit
2fcedcc503
1 changed files with 3 additions and 1 deletions
|
|
@ -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());
|
||||
|
|
|
|||
Loading…
Reference in a new issue