Fix Notification tests with phpunit 5.2+

This commit is contained in:
Joas Schilling 2016-07-01 16:05:16 +02:00
parent ea9c79b7c0
commit 777dbec369
No known key found for this signature in database
GPG Key ID: 70A0B324C41C0946
1 changed files with 2 additions and 0 deletions

View File

@ -517,6 +517,7 @@ class NotificationTest extends TestCase {
->setMethods([
'isValidCommon',
'getSubject',
'getParsedSubject',
])
->getMock();
@ -547,6 +548,7 @@ class NotificationTest extends TestCase {
$notification = $this->getMockBuilder('\OC\Notification\Notification')
->setMethods([
'isValidCommon',
'getSubject',
'getParsedSubject',
])
->getMock();