summaryrefslogtreecommitdiff
path: root/share/www/script/test/basics.js
diff options
context:
space:
mode:
Diffstat (limited to 'share/www/script/test/basics.js')
-rw-r--r--share/www/script/test/basics.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/share/www/script/test/basics.js b/share/www/script/test/basics.js
index 8e6d4c7a..00785dc8 100644
--- a/share/www/script/test/basics.js
+++ b/share/www/script/test/basics.js
@@ -204,14 +204,14 @@ couchTests.basics = function(debug) {
T(xhr.status == 400);
result = JSON.parse(xhr.responseText);
T(result.error == "bad_request");
- T(result.reason == "Body must be a JSON object");
+ T(result.reason == "Request body must be a JSON object");
// Body of an _all_docs multi-get is not a {"key": [...]} structure.
xhr = CouchDB.request("POST", "/test_suite_db/_all_docs", {body: "[]"});
T(xhr.status == 400);
result = JSON.parse(xhr.responseText);
T(result.error == "bad_request");
- T(result.reason == "Body must be a JSON object");
+ T(result.reason == "Request body must be a JSON object");
var data = "{\"keys\": 1}";
xhr = CouchDB.request("POST", "/test_suite_db/_all_docs", {body:data});
T(xhr.status == 400);