diff options
author | Joas Schilling <coding@schilljs.com> | 2020-06-24 18:11:20 +0200 |
---|---|---|
committer | Joas Schilling <coding@schilljs.com> | 2020-06-24 18:13:37 +0200 |
commit | a2f34f46b28fe2d072e23768fe8df60c6041d025 (patch) | |
tree | 2d7049b19809c0d51d388dc809231837e350b5d8 /apps/files_sharing/tests | |
parent | 89ed2c37bf656ceb772bb6759c8977a7dc78b3fb (diff) | |
download | nextcloud-server-a2f34f46b28fe2d072e23768fe8df60c6041d025.tar.gz nextcloud-server-a2f34f46b28fe2d072e23768fe8df60c6041d025.zip |
Fix tests
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'apps/files_sharing/tests')
-rw-r--r-- | apps/files_sharing/tests/Controller/ShareesAPIControllerTest.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/files_sharing/tests/Controller/ShareesAPIControllerTest.php b/apps/files_sharing/tests/Controller/ShareesAPIControllerTest.php index 8939198d4a8..d3fb914f404 100644 --- a/apps/files_sharing/tests/Controller/ShareesAPIControllerTest.php +++ b/apps/files_sharing/tests/Controller/ShareesAPIControllerTest.php @@ -293,7 +293,7 @@ class ShareesAPIControllerTest extends TestCase { $this->shareManager->expects($this->any()) ->method('shareProviderExists') ->willReturnCallback(function ($shareType) use ($emailSharingEnabled) { - if ($shareType === \OCP\IShare::TYPE_EMAIL) { + if ($shareType === IShare::TYPE_EMAIL) { return $emailSharingEnabled; } else { return false; |