You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@couchdb.apache.org by rn...@apache.org on 2015/09/23 14:50:44 UTC

chttpd commit: updated refs/heads/master to 091c5ac

Repository: couchdb-chttpd
Updated Branches:
  refs/heads/master 8d96bb675 -> 091c5ac56


Fix test broken by 'Use illegal_docid error for really bad document ids'


Project: http://git-wip-us.apache.org/repos/asf/couchdb-chttpd/repo
Commit: http://git-wip-us.apache.org/repos/asf/couchdb-chttpd/commit/091c5ac5
Tree: http://git-wip-us.apache.org/repos/asf/couchdb-chttpd/tree/091c5ac5
Diff: http://git-wip-us.apache.org/repos/asf/couchdb-chttpd/diff/091c5ac5

Branch: refs/heads/master
Commit: 091c5ac56bbb60528d1dc776a3a66b63c01154f8
Parents: 8d96bb6
Author: Robert Newson <rn...@apache.org>
Authored: Wed Sep 23 13:50:36 2015 +0100
Committer: Robert Newson <rn...@apache.org>
Committed: Wed Sep 23 13:50:36 2015 +0100

----------------------------------------------------------------------
 test/chttpd_db_bulk_get_test.erl | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/couchdb-chttpd/blob/091c5ac5/test/chttpd_db_bulk_get_test.erl
----------------------------------------------------------------------
diff --git a/test/chttpd_db_bulk_get_test.erl b/test/chttpd_db_bulk_get_test.erl
index 20d774d..a5edcc0 100644
--- a/test/chttpd_db_bulk_get_test.erl
+++ b/test/chttpd_db_bulk_get_test.erl
@@ -126,7 +126,7 @@ should_validate_doc_with_bad_id(Pid) ->
 
     ?_assertMatch({[{<<"id">>, DocId},
                     {<<"rev">>, null},
-                    {<<"error">>, <<"bad_request">>},
+                    {<<"error">>, <<"illegal_docid">>},
                     {<<"reason">>, _}]},
                   Doc).