summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorRoeland Jago Douma <rullzer@users.noreply.github.com>2018-01-15 09:32:29 +0100
committerGitHub <noreply@github.com>2018-01-15 09:32:29 +0100
commit0023cb12fd520fc904caf1dc31449d8432386a02 (patch)
tree54b1259755dbaaa177e6343726eb55c0acf30231 /tests
parentd44de92c31cd5ecc1258e052279dedf3286839c8 (diff)
parenta3b33bea037278f1fab6e5c23f6ae6f092bcb407 (diff)
downloadnextcloud-server-0023cb12fd520fc904caf1dc31449d8432386a02.tar.gz
nextcloud-server-0023cb12fd520fc904caf1dc31449d8432386a02.zip
Merge pull request #7853 from nextcloud/strict_urlgenerator
Make the URLGenerator strict
Diffstat (limited to 'tests')
-rw-r--r--tests/Settings/Mailer/NewUserMailHelperTest.php2
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);