From 777dbec369937aa4ac87720bfeeb413a2a8801db Mon Sep 17 00:00:00 2001 From: Joas Schilling Date: Fri, 1 Jul 2016 16:05:16 +0200 Subject: [PATCH] Fix Notification tests with phpunit 5.2+ --- tests/lib/notification/notificationtest.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/lib/notification/notificationtest.php b/tests/lib/notification/notificationtest.php index ee9454c77a0..bb9440a34d9 100644 --- a/tests/lib/notification/notificationtest.php +++ b/tests/lib/notification/notificationtest.php @@ -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();