summaryrefslogtreecommitdiffstats
path: root/apps/files_sharing
diff options
context:
space:
mode:
authorJoas Schilling <nickvergessen@owncloud.com>2016-05-19 10:11:42 +0200
committerJoas Schilling <nickvergessen@owncloud.com>2016-05-19 10:11:42 +0200
commit320b1c3abf28b7770661d0dd8dbbdda356022b4b (patch)
tree154f00a7cf6cd6f9ef12076f7ce9c1088728086c /apps/files_sharing
parentf24179a327c102d6ed7687d0445ac042ff2b373e (diff)
downloadnextcloud-server-320b1c3abf28b7770661d0dd8dbbdda356022b4b.tar.gz
nextcloud-server-320b1c3abf28b7770661d0dd8dbbdda356022b4b.zip
Fix more failures
Diffstat (limited to 'apps/files_sharing')
-rw-r--r--apps/files_sharing/tests/deleteorphanedsharesjobtest.php2
-rw-r--r--apps/files_sharing/tests/server2server.php2
2 files changed, 2 insertions, 2 deletions
diff --git a/apps/files_sharing/tests/deleteorphanedsharesjobtest.php b/apps/files_sharing/tests/deleteorphanedsharesjobtest.php
index 353520bd604..c9aea60d255 100644
--- a/apps/files_sharing/tests/deleteorphanedsharesjobtest.php
+++ b/apps/files_sharing/tests/deleteorphanedsharesjobtest.php
@@ -154,7 +154,7 @@ class DeleteOrphanedSharesJobTest extends \Test\TestCase {
public function testKeepNonFileShares() {
$this->loginAsUser($this->user1);
- \OCP\Share::registerBackend('test', 'Test_Share_Backend');
+ \OCP\Share::registerBackend('test', 'Test\Share\Backend');
$this->assertTrue(
\OCP\Share::shareItem('test', 'test.txt', \OCP\Share::SHARE_TYPE_USER, $this->user2, \OCP\Constants::PERMISSION_READ),
diff --git a/apps/files_sharing/tests/server2server.php b/apps/files_sharing/tests/server2server.php
index 1d047916ca9..1c8b5ed7a17 100644
--- a/apps/files_sharing/tests/server2server.php
+++ b/apps/files_sharing/tests/server2server.php
@@ -51,7 +51,7 @@ class Test_Files_Sharing_S2S_OCS_API extends TestCase {
parent::setUp();
self::loginHelper(self::TEST_FILES_SHARING_API_USER1);
- \OCP\Share::registerBackend('test', 'Test_Share_Backend');
+ \OCP\Share::registerBackend('test', 'Test\Share\Backend');
$config = $this->getMockBuilder('\OCP\IConfig')
->disableOriginalConstructor()->getMock();