Fix tests

return is not defined

Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
This commit is contained in:
Lukas Reschke 2017-06-12 22:19:44 +02:00
parent 952caf8f85
commit d501b84c5a
No known key found for this signature in database
GPG Key ID: B9F6980CF6E759B1
1 changed files with 1 additions and 1 deletions

View File

@ -69,7 +69,7 @@ class NewUserMailHelperTest extends TestCase {
$this->l10n
);
$this->mailer->method('createEMailTemplate')
->will($this->return($template));
->will($this->returnValue($template));
$this->secureRandom = $this->createMock(ISecureRandom::class);
$this->timeFactory = $this->createMock(ITimeFactory::class);
$this->config = $this->createMock(IConfig::class);