summaryrefslogtreecommitdiffstats
path: root/tests/lib/share/MailNotificationsTest.php
diff options
context:
space:
mode:
Diffstat (limited to 'tests/lib/share/MailNotificationsTest.php')
-rw-r--r--tests/lib/share/MailNotificationsTest.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/lib/share/MailNotificationsTest.php b/tests/lib/share/MailNotificationsTest.php
index 8684886e798..66bec8653fb 100644
--- a/tests/lib/share/MailNotificationsTest.php
+++ b/tests/lib/share/MailNotificationsTest.php
@@ -20,7 +20,6 @@
*/
use OC\Share\MailNotifications;
-use OCP\IConfig;
use OCP\IL10N;
use OCP\IUser;
use OCP\Mail\IMailer;
@@ -234,6 +233,9 @@ class MailNotificationsTest extends \Test\TestCase {
}
+ /**
+ * @param string $subject
+ */
protected function setupMailerMock($subject, $to, $exceptionOnSend = true) {
$message = $this->getMockBuilder('\OC\Mail\Message')
->disableOriginalConstructor()->getMock();