aboutsummaryrefslogtreecommitdiffstats
path: root/apps/dav/tests/unit
diff options
context:
space:
mode:
authorCôme Chilliet <come.chilliet@nextcloud.com>2022-12-19 09:57:32 +0100
committerCôme Chilliet <come.chilliet@nextcloud.com>2022-12-19 09:57:32 +0100
commite553cd1bb9cec6bf6200298bcca6637e81163953 (patch)
tree5ae86e99c2457f6e06ef900963d3a48af2b18795 /apps/dav/tests/unit
parentf676076482433da01ce7d60ea68f04fa84a33f86 (diff)
downloadnextcloud-server-e553cd1bb9cec6bf6200298bcca6637e81163953.tar.gz
nextcloud-server-e553cd1bb9cec6bf6200298bcca6637e81163953.zip
Fix comments and dav tests with Notifications and Activity changes
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
Diffstat (limited to 'apps/dav/tests/unit')
-rw-r--r--apps/dav/tests/unit/CalDAV/Activity/Provider/BaseTest.php8
1 files changed, 2 insertions, 6 deletions
diff --git a/apps/dav/tests/unit/CalDAV/Activity/Provider/BaseTest.php b/apps/dav/tests/unit/CalDAV/Activity/Provider/BaseTest.php
index 9e1e02189f5..e4622336d74 100644
--- a/apps/dav/tests/unit/CalDAV/Activity/Provider/BaseTest.php
+++ b/apps/dav/tests/unit/CalDAV/Activity/Provider/BaseTest.php
@@ -32,13 +32,11 @@ use OCP\Activity\IProvider;
use OCP\IGroupManager;
use OCP\IL10N;
use OCP\IURLGenerator;
-use OCP\IUser;
use OCP\IUserManager;
use PHPUnit\Framework\MockObject\MockObject;
use Test\TestCase;
class BaseTest extends TestCase {
-
/** @var IUserManager|MockObject */
protected $userManager;
@@ -85,10 +83,8 @@ class BaseTest extends TestCase {
->method('setRichSubject')
->with($subject, $parameters)
->willReturnSelf();
- $event->expects($this->once())
- ->method('setParsedSubject')
- ->with($parsedSubject)
- ->willReturnSelf();
+ $event->expects($this->never())
+ ->method('setParsedSubject');
$this->invokePrivate($this->provider, 'setSubjects', [$event, $subject, $parameters]);
}