diff options
Diffstat (limited to 'apps/files_sharing/tests/WatcherTest.php')
-rw-r--r-- | apps/files_sharing/tests/WatcherTest.php | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/apps/files_sharing/tests/WatcherTest.php b/apps/files_sharing/tests/WatcherTest.php index e6ca5f40a8f..59f84057a14 100644 --- a/apps/files_sharing/tests/WatcherTest.php +++ b/apps/files_sharing/tests/WatcherTest.php @@ -29,6 +29,8 @@ namespace OCA\Files_Sharing\Tests; +use OCP\Share\IShare; + /** * Class WatcherTest * @@ -74,6 +76,9 @@ class WatcherTest extends TestCase { \OCP\Constants::PERMISSION_ALL ); + $this->_share->setStatus(IShare::STATUS_ACCEPTED); + $this->shareManager->updateShare($this->_share); + // login as user2 self::loginHelper(self::TEST_FILES_SHARING_API_USER2); |