diff options
Diffstat (limited to 'apps/files_sharing/tests/ExpireSharesJobTest.php')
-rw-r--r-- | apps/files_sharing/tests/ExpireSharesJobTest.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/files_sharing/tests/ExpireSharesJobTest.php b/apps/files_sharing/tests/ExpireSharesJobTest.php index 53180f31c56..826efc5ed80 100644 --- a/apps/files_sharing/tests/ExpireSharesJobTest.php +++ b/apps/files_sharing/tests/ExpireSharesJobTest.php @@ -138,7 +138,7 @@ class ExpireSharesJobTest extends \Test\TestCase { $fileInfo = $view->getFileInfo('files/test'); $this->assertNotNull( - \OCP\Share::shareItem('folder', $fileInfo->getId(), \OCP\Share::SHARE_TYPE_LINK, null, \OCP\Constants::PERMISSION_READ), + \OC\Share\Share::shareItem('folder', $fileInfo->getId(), \OCP\Share::SHARE_TYPE_LINK, null, \OCP\Constants::PERMISSION_READ), 'Failed asserting that user 1 successfully shared "test" by link.' ); @@ -192,7 +192,7 @@ class ExpireSharesJobTest extends \Test\TestCase { $fileInfo = $view->getFileInfo('files/test'); $this->assertNotNull( - \OCP\Share::shareItem('folder', $fileInfo->getId(), \OCP\Share::SHARE_TYPE_USER, $this->user2, \OCP\Constants::PERMISSION_READ), + \OC\Share\Share::shareItem('folder', $fileInfo->getId(), \OCP\Share::SHARE_TYPE_USER, $this->user2, \OCP\Constants::PERMISSION_READ), 'Failed asserting that user 1 successfully shared "test" by link with user2.' ); |