summaryrefslogtreecommitdiffstats
path: root/apps/sharebymail/tests
diff options
context:
space:
mode:
authorStephan Müller <mail@stephanmueller.eu>2017-09-10 23:59:11 +0200
committerRoeland Jago Douma <roeland@famdouma.nl>2017-09-25 09:20:46 +0200
commitf7790c2960f4fd509df7d93cca7e6441e7de89f3 (patch)
tree404fc6aca4db8ab3c733702ee6967f949dcd75e5 /apps/sharebymail/tests
parent86265320b892143c768a14054ab16678cfa2d256 (diff)
downloadnextcloud-server-f7790c2960f4fd509df7d93cca7e6441e7de89f3.tar.gz
nextcloud-server-f7790c2960f4fd509df7d93cca7e6441e7de89f3.zip
expect call of getSlogan() exactly twice
Signed-off-by: Stephan Müller <mail@stephanmueller.eu> Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
Diffstat (limited to 'apps/sharebymail/tests')
-rw-r--r--apps/sharebymail/tests/ShareByMailProviderTest.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/sharebymail/tests/ShareByMailProviderTest.php b/apps/sharebymail/tests/ShareByMailProviderTest.php
index 9ab9dbef4a1..23e61ee58f1 100644
--- a/apps/sharebymail/tests/ShareByMailProviderTest.php
+++ b/apps/sharebymail/tests/ShareByMailProviderTest.php
@@ -828,7 +828,7 @@ class ShareByMailProviderTest extends TestCase {
->method('setReplyTo')
->with(['owner@example.com' => 'Mrs. Owner User']);
$this->defaults
- ->expects($this->once())
+ ->expects($this->exactly(2))
->method('getSlogan')
->willReturn('Testing like 1990');
$template