summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2019-07-16 13:32:44 +0200
committerJoas Schilling <coding@schilljs.com>2019-07-16 13:32:44 +0200
commit565838da9c279fe071a9cdfbfd9cf574893a61f5 (patch)
treeedca999a6b0a1a6ce373850cd57b8b0a2759d61f /tests
parentc3ef1cd90d215f36edf7236456578a233bc5f3bd (diff)
downloadnextcloud-server-565838da9c279fe071a9cdfbfd9cf574893a61f5.tar.gz
nextcloud-server-565838da9c279fe071a9cdfbfd9cf574893a61f5.zip
Update unit tests
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'tests')
-rw-r--r--tests/lib/Authentication/Listeners/RemoteWipeNotificationsListenerTest.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/lib/Authentication/Listeners/RemoteWipeNotificationsListenerTest.php b/tests/lib/Authentication/Listeners/RemoteWipeNotificationsListenerTest.php
index 27d386ca5b3..e3e526e401b 100644
--- a/tests/lib/Authentication/Listeners/RemoteWipeNotificationsListenerTest.php
+++ b/tests/lib/Authentication/Listeners/RemoteWipeNotificationsListenerTest.php
@@ -92,7 +92,7 @@ class RemoteWipeNotificationListenerTests extends TestCase {
$token->method('getId')->willReturn(123);
$notification->expects($this->once())
->method('setObject')
- ->with('token', 123)
+ ->with('token', '123')
->willReturnSelf();
$token->method('getName')->willReturn('Token 1');
$notification->expects($this->once())
@@ -132,7 +132,7 @@ class RemoteWipeNotificationListenerTests extends TestCase {
$token->method('getId')->willReturn(123);
$notification->expects($this->once())
->method('setObject')
- ->with('token', 123)
+ ->with('token', '123')
->willReturnSelf();
$token->method('getName')->willReturn('Token 1');
$notification->expects($this->once())