diff options
author | Lukas Reschke <lukas@statuscode.ch> | 2017-06-12 22:19:44 +0200 |
---|---|---|
committer | Lukas Reschke <lukas@statuscode.ch> | 2017-06-12 22:19:44 +0200 |
commit | a4b48d55ad9bc81e8795aa19c0af0f79956cf222 (patch) | |
tree | ac5cb4dcc8b32d96b573daba0d9ac4652ff16dbd | |
parent | b58928b4c1a21f0c2f7db6a8ff670645e7c867e0 (diff) | |
download | nextcloud-server-a4b48d55ad9bc81e8795aa19c0af0f79956cf222.tar.gz nextcloud-server-a4b48d55ad9bc81e8795aa19c0af0f79956cf222.zip |
Fix tests
return is not defined
Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
-rw-r--r-- | tests/Settings/Mailer/NewUserMailHelperTest.php | 2 |
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); |