From a2f34f46b28fe2d072e23768fe8df60c6041d025 Mon Sep 17 00:00:00 2001 From: Joas Schilling Date: Wed, 24 Jun 2020 18:11:20 +0200 Subject: Fix tests Signed-off-by: Joas Schilling --- apps/files_sharing/tests/Controller/ShareesAPIControllerTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'apps/files_sharing') 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; -- cgit v1.2.3