diff options
author | Robert Newson <rnewson@apache.org> | 2010-09-30 12:46:57 +0000 |
---|---|---|
committer | Robert Newson <rnewson@apache.org> | 2010-09-30 12:46:57 +0000 |
commit | f64b4a4bd7ac4c833271591f62010288270bfb93 (patch) | |
tree | 9662164348a314705094f5f52456ab7bfe330df9 /share/www/script/test/copy_doc.js | |
parent | 5d918e616119e308ca38dc847dd8165e089557dc (diff) |
Revert "COUCHDB-903 - add {ok, true} to COPY result."
This reverts commit 5d918e616119e308ca38dc847dd8165e089557dc.
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@1003044 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'share/www/script/test/copy_doc.js')
-rw-r--r-- | share/www/script/test/copy_doc.js | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/share/www/script/test/copy_doc.js b/share/www/script/test/copy_doc.js index a15e3ef8..a6de1892 100644 --- a/share/www/script/test/copy_doc.js +++ b/share/www/script/test/copy_doc.js @@ -23,7 +23,6 @@ couchTests.copy_doc = function(debug) { }); T(xhr.status == 201); - T(JSON.parse(xhr.responseText).ok); T(db.open("doc_that_was_copied").v == 1); // COPY with existing target @@ -37,10 +36,6 @@ couchTests.copy_doc = function(debug) { }); T(xhr.status == 409); // conflict - // missing Destination header - var xhr = CouchDB.request("COPY", "/test_suite_db/doc_to_be_copied2"); - T(xhr.status == 400); // bad request - var rev = db.open("doc_to_be_overwritten")._rev; var xhr = CouchDB.request("COPY", "/test_suite_db/doc_to_be_copied2", { headers: {"Destination":"doc_to_be_overwritten?rev=" + rev} |