diff --git a/apps/sharebymail/tests/ShareByMailProviderTest.php b/apps/sharebymail/tests/ShareByMailProviderTest.php index 9ab9dbef4a..23e61ee58f 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