From a4b48d55ad9bc81e8795aa19c0af0f79956cf222 Mon Sep 17 00:00:00 2001 From: Lukas Reschke Date: Mon, 12 Jun 2017 22:19:44 +0200 Subject: Fix tests return is not defined Signed-off-by: Lukas Reschke --- tests/Settings/Mailer/NewUserMailHelperTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/Settings') 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); -- cgit v1.2.3