diff options
author | John Molakvoæ <skjnldsv@users.noreply.github.com> | 2021-09-08 20:04:37 +0200 |
---|---|---|
committer | John Molakvoæ <skjnldsv@protonmail.com> | 2021-09-10 08:36:45 +0200 |
commit | c56c317d82e6015739549a606578e963578f4de6 (patch) | |
tree | 0df61d951607776132ee57d1f99d7ffcd7d7099d /apps/files_sharing/tests | |
parent | 2693573be23d7e939ae979bbd910d78c3649fad4 (diff) | |
download | nextcloud-server-c56c317d82e6015739549a606578e963578f4de6.tar.gz nextcloud-server-c56c317d82e6015739549a606578e963578f4de6.zip |
Emit event on link share action
Signed-off-by: John Molakvoæ <skjnldsv@users.noreply.github.com>
Diffstat (limited to 'apps/files_sharing/tests')
-rw-r--r-- | apps/files_sharing/tests/Controller/ShareControllerTest.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/apps/files_sharing/tests/Controller/ShareControllerTest.php b/apps/files_sharing/tests/Controller/ShareControllerTest.php index 07bd845729d..be2616f70fc 100644 --- a/apps/files_sharing/tests/Controller/ShareControllerTest.php +++ b/apps/files_sharing/tests/Controller/ShareControllerTest.php @@ -299,7 +299,7 @@ class ShareControllerTest extends \Test\TestCase { return null; }); - $this->eventDispatcher->expects($this->once()) + $this->eventDispatcher->expects($this->exactly(2)) ->method('dispatchTyped') ->with( $this->callback(function ($event) use ($share) { @@ -450,7 +450,7 @@ class ShareControllerTest extends \Test\TestCase { return null; }); - $this->eventDispatcher->expects($this->once()) + $this->eventDispatcher->expects($this->exactly(2)) ->method('dispatchTyped') ->with( $this->callback(function ($event) use ($share) { @@ -605,7 +605,7 @@ class ShareControllerTest extends \Test\TestCase { return null; }); - $this->eventDispatcher->expects($this->once()) + $this->eventDispatcher->expects($this->exactly(2)) ->method('dispatchTyped') ->with( $this->callback(function ($event) use ($share) { |