summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorThomas Müller <thomas.mueller@tmit.eu>2015-08-05 11:23:29 +0200
committerThomas Müller <thomas.mueller@tmit.eu>2015-08-05 11:23:29 +0200
commit6c46430cdb6edf411142d0a73fb888391ea86fd7 (patch)
tree02534769c0387a4d5ceccdcd9dee5819b5f15942 /tests
parent3ecf7fce79798a368ee16cb5dc5404ba16752f56 (diff)
downloadnextcloud-server-6c46430cdb6edf411142d0a73fb888391ea86fd7.tar.gz
nextcloud-server-6c46430cdb6edf411142d0a73fb888391ea86fd7.zip
Return 200 not null - we should return consistent types
Diffstat (limited to 'tests')
-rw-r--r--tests/ocs/response.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/ocs/response.php b/tests/ocs/response.php
index 71397bcf2c9..0d5883fa4cc 100644
--- a/tests/ocs/response.php
+++ b/tests/ocs/response.php
@@ -35,6 +35,8 @@ class OcsResponseTest extends \Test\TestCase {
return [
[Http::STATUS_OK, 100],
[Http::STATUS_BAD_REQUEST, 104],
+ [Http::STATUS_OK, 1000],
+ [201, 201],
];
}
}