Fix tests
return is not defined Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
This commit is contained in:
parent
b58928b4c1
commit
a4b48d55ad
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue