Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/notifications.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/unit/lib/HandlerTest.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/unit/lib/HandlerTest.php b/tests/unit/lib/HandlerTest.php
index afa0fcd..d95d13e 100644
--- a/tests/unit/lib/HandlerTest.php
+++ b/tests/unit/lib/HandlerTest.php
@@ -48,7 +48,7 @@ class HandlerTest extends TestCase {
'getUser' => 'test_user1',
'getDateTime' => new \DateTime(),
'getObjectType' => 'notification',
- 'getObjectId' => 1337,
+ 'getObjectId' => '1337',
'getSubject' => 'subject',
'getSubjectParameters' => [],
'getMessage' => 'message',
@@ -103,7 +103,7 @@ class HandlerTest extends TestCase {
'getUser' => 'test_user1',
'getDateTime' => new \DateTime(),
'getObjectType' => 'notification',
- 'getObjectId' => 1337,
+ 'getObjectId' => '1337',
'getSubject' => 'subject',
'getSubjectParameters' => [],
'getMessage' => 'message',
@@ -195,7 +195,7 @@ class HandlerTest extends TestCase {
'getUser' => '',
'getDateTime' => $defaultDateTime,
'getObjectType' => '',
- 'getObjectId' => 0,
+ 'getObjectId' => '',
'getSubject' => '',
'getSubjectParameters' => [],
'getMessage' => '',