summaryrefslogtreecommitdiffstats
path: root/apps/dav/tests
diff options
context:
space:
mode:
authorThomas Citharel <tcit@tcit.fr>2020-02-01 15:29:02 +0100
committerThomas Citharel <tcit@tcit.fr>2020-02-01 18:13:51 +0100
commit41fa05728572735abb1b71b705419bd2612aad68 (patch)
tree37888cc8a0088a2ed56681468ec669c0576b28d4 /apps/dav/tests
parent7b5072ab617ee28d37914690b865f835bc03efae (diff)
downloadnextcloud-server-41fa05728572735abb1b71b705419bd2612aad68.tar.gz
nextcloud-server-41fa05728572735abb1b71b705419bd2612aad68.zip
Hash event UID to make sure it's not too long for PushProvider
notifications Signed-off-by: Thomas Citharel <tcit@tcit.fr>
Diffstat (limited to 'apps/dav/tests')
-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())