summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--tests/Settings/Mailer/NewUserMailHelperTest.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/Settings/Mailer/NewUserMailHelperTest.php b/tests/Settings/Mailer/NewUserMailHelperTest.php
index 8014570636d..a8b67278e77 100644
--- a/tests/Settings/Mailer/NewUserMailHelperTest.php
+++ b/tests/Settings/Mailer/NewUserMailHelperTest.php
@@ -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);