diff options
author | Roeland Jago Douma <roeland@famdouma.nl> | 2018-01-14 14:10:21 +0100 |
---|---|---|
committer | Roeland Jago Douma <roeland@famdouma.nl> | 2018-01-14 21:18:48 +0100 |
commit | a3b33bea037278f1fab6e5c23f6ae6f092bcb407 (patch) | |
tree | 5645c682bb75e9f44c1131ba22da669364dff35e /tests/Settings | |
parent | 2ed4bea18f207b6bb498cfa67e04652c3d5e69da (diff) | |
download | nextcloud-server-a3b33bea037278f1fab6e5c23f6ae6f092bcb407.tar.gz nextcloud-server-a3b33bea037278f1fab6e5c23f6ae6f092bcb407.zip |
Make the URLGenerator strict
* Add scalar argument types
* Add return types
* Make strict
* General phpstorm cleanup
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
Diffstat (limited to 'tests/Settings')
-rw-r--r-- | tests/Settings/Mailer/NewUserMailHelperTest.php | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/Settings/Mailer/NewUserMailHelperTest.php b/tests/Settings/Mailer/NewUserMailHelperTest.php index 84553cc9007..6d6c6bf15c6 100644 --- a/tests/Settings/Mailer/NewUserMailHelperTest.php +++ b/tests/Settings/Mailer/NewUserMailHelperTest.php @@ -60,6 +60,8 @@ class NewUserMailHelperTest extends TestCase { parent::setUp(); $this->defaults = $this->createMock(Defaults::class); + $this->defaults->method('getLogo') + ->willReturn('myLogo'); $this->urlGenerator = $this->createMock(IURLGenerator::class); $this->l10n = $this->createMock(IL10N::class); $this->mailer = $this->createMock(IMailer::class); |