summaryrefslogtreecommitdiffstats
path: root/tests/ocs
diff options
context:
space:
mode:
authorThomas Müller <thomas.mueller@tmit.eu>2015-08-05 17:49:44 +0200
committerThomas Müller <thomas.mueller@tmit.eu>2015-08-05 17:49:44 +0200
commitdb1416346c4f6bd16afeaa454b16f6a2f8112ade (patch)
tree1e00d18a8ebd02a9cd4a8e2d7936fee64f9c476c /tests/ocs
parent7cb0934fa27a512b2e409361fe283d9c15560327 (diff)
downloadnextcloud-server-db1416346c4f6bd16afeaa454b16f6a2f8112ade.tar.gz
nextcloud-server-db1416346c4f6bd16afeaa454b16f6a2f8112ade.zip
Following the spec:
"`statuscode`: The OCS status code of the response, everything except 100 MUST be handled as failure."
Diffstat (limited to 'tests/ocs')
-rw-r--r--tests/ocs/response.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/ocs/response.php b/tests/ocs/response.php
index 0d5883fa4cc..919915a7c78 100644
--- a/tests/ocs/response.php
+++ b/tests/ocs/response.php
@@ -35,7 +35,7 @@ class OcsResponseTest extends \Test\TestCase {
return [
[Http::STATUS_OK, 100],
[Http::STATUS_BAD_REQUEST, 104],
- [Http::STATUS_OK, 1000],
+ [Http::STATUS_BAD_REQUEST, 1000],
[201, 201],
];
}