couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rnew...@apache.org
Subject chttpd commit: updated refs/heads/master to 091c5ac
Date Wed, 23 Sep 2015 12:50:44 GMT
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 <rnewson@apache.org>
Authored: Wed Sep 23 13:50:36 2015 +0100
Committer: Robert Newson <rnewson@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).
 


Mime
View raw message