From a8fc23aeac3145c5c0d0840beb3d27365bd202bf Mon Sep 17 00:00:00 2001 From: Filipe David Borba Manana Date: Tue, 7 Dec 2010 20:27:13 +0000 Subject: Merged revision 1043186 from trunk: Replicator improvement: send "unauthorized" error message instead of "db_not_found" when a remote endpoint can not be accessed due to authorization. git-svn-id: https://svn.apache.org/repos/asf/couchdb/branches/1.1.x@1043188 13f79535-47bb-0310-9956-ffa450edef68 --- share/www/script/test/replication.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'share/www/script/test') diff --git a/share/www/script/test/replication.js b/share/www/script/test/replication.js index 6f54a195..5acff4ab 100644 --- a/share/www/script/test/replication.js +++ b/share/www/script/test/replication.js @@ -712,7 +712,7 @@ couchTests.replication = function(debug) { ); T(false, "replication should have failed"); } catch(x) { - T(x.error === "db_not_found"); + T(x.error === "unauthorized"); } atts_ddoc_copy = dbB.open(atts_ddoc._id); -- cgit v1.2.3