diff options
Diffstat (limited to 'share')
-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()} }); |