expect call of getSlogan() exactly twice

Signed-off-by: Stephan Müller <mail@stephanmueller.eu>
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
This commit is contained in:
Stephan Müller 2017-09-10 23:59:11 +02:00 committed by Roeland Jago Douma
parent 86265320b8
commit f7790c2960
No known key found for this signature in database
GPG Key ID: F941078878347C0C
1 changed files with 1 additions and 1 deletions

View File

@ -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