diff options
author | Joas Schilling <coding@schilljs.com> | 2018-11-23 13:04:16 +0100 |
---|---|---|
committer | Joas Schilling <coding@schilljs.com> | 2018-12-04 16:42:07 +0100 |
commit | 11c39b6c1678397680174c7d687698590b67cf10 (patch) | |
tree | 1fcc177259bcee6bb4909ca83e27f40c6fc08d61 /apps/sharebymail/tests/ShareByMailProviderTest.php | |
parent | 441496a5a579a30d21c9545d32429281de66bd24 (diff) | |
download | nextcloud-server-11c39b6c1678397680174c7d687698590b67cf10.tar.gz nextcloud-server-11c39b6c1678397680174c7d687698590b67cf10.zip |
Unshare from mail activity is missing
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'apps/sharebymail/tests/ShareByMailProviderTest.php')
-rw-r--r-- | apps/sharebymail/tests/ShareByMailProviderTest.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/apps/sharebymail/tests/ShareByMailProviderTest.php b/apps/sharebymail/tests/ShareByMailProviderTest.php index 4942dac7022..090e6e92848 100644 --- a/apps/sharebymail/tests/ShareByMailProviderTest.php +++ b/apps/sharebymail/tests/ShareByMailProviderTest.php @@ -537,9 +537,10 @@ class ShareByMailProviderTest extends TestCase { } public function testDelete() { - $instance = $this->getInstance(['removeShareFromTable']); + $instance = $this->getInstance(['removeShareFromTable', 'createShareActivity']); $this->share->expects($this->once())->method('getId')->willReturn(42); $instance->expects($this->once())->method('removeShareFromTable')->with(42); + $instance->expects($this->once())->method('createShareActivity')->with($this->share, 'unshare'); $instance->delete($this->share); } |