Signed-off-by: Joas Schilling <coding@schilljs.com>
use OCP\IConfig;
use OCP\IL10N;
use OCP\IUserManager;
+use OCP\L10N\IFactory;
use OCP\Mail\IMailer;
use OCP\Security\ISecureRandom;
use OCP\UserInterface;
->disableOriginalConstructor()->getMock();
$this->mailer = $this->getMockBuilder(IMailer::class)
->disableOriginalConstructor()->getMock();
+ $this->l10nFactory = $this->createMock(IFactory::class);
$this->l = $this->getMockBuilder(IL10N::class)
->disableOriginalConstructor()->getMock();
$this->questionHelper = $this->getMockBuilder(QuestionHelper::class)
$this->config,
$this->mailer,
$this->l,
+ $this->l10nFactory,
$this->questionHelper,
$this->secureRandom
);
$this->config,
$this->mailer,
$this->l,
+ $this->l10nFactory,
$this->questionHelper,
$this->secureRandom
]
$this->config,
$this->mailer,
$this->l,
+ $this->l10nFactory,
$this->questionHelper,
$this->secureRandom
]
$this->config,
$this->mailer,
$this->l,
+ $this->l10nFactory,
$this->questionHelper,
$this->secureRandom
]
$this->config,
$this->mailer,
$this->l,
+ $this->l10nFactory,
$this->questionHelper,
$this->secureRandom
]
$this->config,
$this->mailer,
$this->l,
+ $this->l10nFactory,
$this->questionHelper,
$this->secureRandom
]