diff options
author | Joas Schilling <coding@schilljs.com> | 2019-07-16 13:32:44 +0200 |
---|---|---|
committer | Joas Schilling <coding@schilljs.com> | 2019-07-16 13:32:44 +0200 |
commit | 565838da9c279fe071a9cdfbfd9cf574893a61f5 (patch) | |
tree | edca999a6b0a1a6ce373850cd57b8b0a2759d61f /tests | |
parent | c3ef1cd90d215f36edf7236456578a233bc5f3bd (diff) | |
download | nextcloud-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.php | 4 |
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()) |