Fix tests
return is not defined Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
This commit is contained in:
parent
952caf8f85
commit
d501b84c5a
|
@ -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 New Issue