summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorRobin Appelman <robin@icewind.nl>2016-10-31 14:26:29 +0100
committerRobin Appelman <robin@icewind.nl>2016-11-16 15:24:29 +0100
commita4ea20a259dc2d98cda7b2e8d5ca08f3f1b48ff7 (patch)
tree88fdfcca01cfc5f86fec79a78f36ef5c6989689e /tests
parentbb65d3b03d247d8bdde797af4acb963fe296595d (diff)
downloadnextcloud-server-a4ea20a259dc2d98cda7b2e8d5ca08f3f1b48ff7.tar.gz
nextcloud-server-a4ea20a259dc2d98cda7b2e8d5ca08f3f1b48ff7.zip
cast to int
Signed-off-by: Robin Appelman <robin@icewind.nl>
Diffstat (limited to 'tests')
-rw-r--r--tests/Settings/Controller/AuthSettingsControllerTest.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/Settings/Controller/AuthSettingsControllerTest.php b/tests/Settings/Controller/AuthSettingsControllerTest.php
index f3ba2dd9167..339c698bcbb 100644
--- a/tests/Settings/Controller/AuthSettingsControllerTest.php
+++ b/tests/Settings/Controller/AuthSettingsControllerTest.php
@@ -94,8 +94,8 @@ class AuthSettingsControllerTest extends TestCase {
[
'id' => 100,
'name' => null,
- 'lastActivity' => null,
- 'type' => null,
+ 'lastActivity' => 0,
+ 'type' => 0,
'canDelete' => false,
'current' => true,
'scope' => ['filesystem' => true]
@@ -103,8 +103,8 @@ class AuthSettingsControllerTest extends TestCase {
[
'id' => 200,
'name' => null,
- 'lastActivity' => null,
- 'type' => null,
+ 'lastActivity' => 0,
+ 'type' => 0,
'canDelete' => true,
'scope' => ['filesystem' => true]
]