From 67cddcac3997fc800aed0f73c0b28a419059ccc4 Mon Sep 17 00:00:00 2001 From: Adam Kocoloski Date: Thu, 15 Oct 2009 05:46:22 +0000 Subject: 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 --- share/www/script/test/oauth.js | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'share/www/script/test/oauth.js') 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()} }); -- cgit v1.2.3