diff options
author | Christopher Ng <chrng8@gmail.com> | 2025-01-09 14:52:33 -0800 |
---|---|---|
committer | Christopher Ng <chrng8@gmail.com> | 2025-01-15 15:50:43 -0800 |
commit | 42d997bcd718d6a62c5f0b184f66873770380185 (patch) | |
tree | 1ec0f083ea24b64dcac930b03d6e524f07ff0a6a /apps/files_sharing | |
parent | 3c62d6853434e5fd0efe61f455c66dfdf152ba2c (diff) | |
download | nextcloud-server-42d997bcd718d6a62c5f0b184f66873770380185.tar.gz nextcloud-server-42d997bcd718d6a62c5f0b184f66873770380185.zip |
test: Update tests
Signed-off-by: Christopher Ng <chrng8@gmail.com>
Diffstat (limited to 'apps/files_sharing')
-rw-r--r-- | apps/files_sharing/tests/CapabilitiesTest.php | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/apps/files_sharing/tests/CapabilitiesTest.php b/apps/files_sharing/tests/CapabilitiesTest.php index c188cbfdfcc..737362e2195 100644 --- a/apps/files_sharing/tests/CapabilitiesTest.php +++ b/apps/files_sharing/tests/CapabilitiesTest.php @@ -13,6 +13,7 @@ use OCA\Files_Sharing\Capabilities; use OCP\EventDispatcher\IEventDispatcher; use OCP\Files\IRootFolder; use OCP\Files\Mount\IMountManager; +use OCP\IAppConfig; use OCP\IConfig; use OCP\IDateTimeZone; use OCP\IGroupManager; @@ -75,6 +76,7 @@ class CapabilitiesTest extends \Test\TestCase { $this->createMock(KnownUserService::class), $this->createMock(ShareDisableChecker::class), $this->createMock(IDateTimeZone::class), + $this->createMock(IAppConfig::class), ); $cap = new Capabilities($config, $shareManager); $result = $this->getFilesSharingPart($cap->getCapabilities()); |