diff options
author | Morris Jobke <hey@morrisjobke.de> | 2017-08-15 13:52:49 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-08-15 13:52:49 +0200 |
commit | c5f14ac884b32d749edfcfc89434333930287ae5 (patch) | |
tree | 04f60cc3eeba3a0046f9fa8f2b51a3a641b26f6e /apps/files_sharing/tests/DeleteOrphanedSharesJobTest.php | |
parent | 49b28ebf84abc90c15662a4ff8b31c5ff255bfc7 (diff) | |
parent | 895b9c23099bd123331760873f30215e106c3a5c (diff) | |
download | nextcloud-server-c5f14ac884b32d749edfcfc89434333930287ae5.tar.gz nextcloud-server-c5f14ac884b32d749edfcfc89434333930287ae5.zip |
Merge pull request #6121 from nextcloud/cleanup-registerBackend
Use proper methods for registerBackend
Diffstat (limited to 'apps/files_sharing/tests/DeleteOrphanedSharesJobTest.php')
-rw-r--r-- | apps/files_sharing/tests/DeleteOrphanedSharesJobTest.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/files_sharing/tests/DeleteOrphanedSharesJobTest.php b/apps/files_sharing/tests/DeleteOrphanedSharesJobTest.php index 6f7bef24b85..2acd8638775 100644 --- a/apps/files_sharing/tests/DeleteOrphanedSharesJobTest.php +++ b/apps/files_sharing/tests/DeleteOrphanedSharesJobTest.php @@ -156,7 +156,7 @@ class DeleteOrphanedSharesJobTest extends \Test\TestCase { public function testKeepNonFileShares() { $this->loginAsUser($this->user1); - \OCP\Share::registerBackend('test', 'Test\Share\Backend'); + \OC\Share\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), |