diff options
author | John Molakvoæ <skjnldsv@users.noreply.github.com> | 2021-09-10 09:31:18 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-09-10 09:31:18 +0200 |
commit | 90b47ab7f0aeb1af91a4639d9f863c1eb2d0ca2b (patch) | |
tree | 4ddc11ebe66a7ccbb045cecd2a3dff9d0b94b84c /apps/files_sharing/tests | |
parent | b0bf898e18b4a7be973442d9ec6761c3457d928b (diff) | |
parent | c56c317d82e6015739549a606578e963578f4de6 (diff) | |
download | nextcloud-server-90b47ab7f0aeb1af91a4639d9f863c1eb2d0ca2b.tar.gz nextcloud-server-90b47ab7f0aeb1af91a4639d9f863c1eb2d0ca2b.zip |
Merge pull request #28764 from nextcloud/feat/sharing-link-event
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) { |