diff options
author | Adam Kocoloski <kocolosk@apache.org> | 2009-10-15 05:46:22 +0000 |
---|---|---|
committer | Adam Kocoloski <kocolosk@apache.org> | 2009-10-15 05:46:22 +0000 |
commit | 67cddcac3997fc800aed0f73c0b28a419059ccc4 (patch) | |
tree | 228a2fab2aaa7dedd4f995d08d26b7c0979f30ef /share/www/script | |
parent | 9b284a71d54d621cbcbbebce7d565c7df1a194b2 (diff) |
bugfixes for redirects in replication and iolists in OAuth qs params
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@825401 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'share/www/script')
-rw-r--r-- | share/www/script/test/oauth.js | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/share/www/script/test/oauth.js b/share/www/script/test/oauth.js index 6d8498a6..b14ccbc5 100644 --- a/share/www/script/test/oauth.js +++ b/share/www/script/test/oauth.js @@ -170,6 +170,11 @@ couchTests.oauth = function(debug) { T(xhr.status == expectedCode); // Replication + var dbA = new CouchDB("test_suite_db_a", { + "X-Couch-Full-Commit":"false", + "Authorization": adminBasicAuthHeaderValue() + }); + T(dbA.save({_id:"_design/"+i+consumerKey}).ok); var result = CouchDB.replicate(dbPair.source, dbPair.target, { headers: {"Authorization": adminBasicAuthHeaderValue()} }); |