summaryrefslogtreecommitdiffstats
path: root/apps/dav/tests/unit/CalDAV
diff options
context:
space:
mode:
authorJoas Schilling <213943+nickvergessen@users.noreply.github.com>2020-02-25 17:04:25 +0100
committerGitHub <noreply@github.com>2020-02-25 17:04:25 +0100
commite6206731c7d009bb0c9195f14eafa516d5c96b01 (patch)
treeef403f6df2441b14ce6bca8c5d231c1234a592f5 /apps/dav/tests/unit/CalDAV
parente00c1dcd1111ec50b0db65af0171740c2eff8afc (diff)
parent41fa05728572735abb1b71b705419bd2612aad68 (diff)
downloadnextcloud-server-e6206731c7d009bb0c9195f14eafa516d5c96b01.tar.gz
nextcloud-server-e6206731c7d009bb0c9195f14eafa516d5c96b01.zip
Merge pull request #19252 from nextcloud/bug/fix-notification-object-id
Hash event UID to make sure it's not too long for PushProvider notifications
Diffstat (limited to 'apps/dav/tests/unit/CalDAV')
-rw-r--r--apps/dav/tests/unit/CalDAV/Reminder/NotificationProvider/PushProviderTest.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/dav/tests/unit/CalDAV/Reminder/NotificationProvider/PushProviderTest.php b/apps/dav/tests/unit/CalDAV/Reminder/NotificationProvider/PushProviderTest.php
index feda4ab45ac..92ccbfb08f8 100644
--- a/apps/dav/tests/unit/CalDAV/Reminder/NotificationProvider/PushProviderTest.php
+++ b/apps/dav/tests/unit/CalDAV/Reminder/NotificationProvider/PushProviderTest.php
@@ -189,7 +189,7 @@ class PushProviderTest extends AbstractNotificationProviderTest {
$notification->expects($this->once())
->method('setObject')
- ->with('dav', 'uid1234')
+ ->with('dav', hash('sha256', 'uid1234', false))
->willReturn($notification);
$notification->expects($this->once())