You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@couchdb.apache.org by ja...@apache.org on 2021/04/20 21:44:55 UTC
[couchdb] branch 3.x updated: Use correct args in get_doc_info
This is an automated email from the ASF dual-hosted git repository.
jaydoane pushed a commit to branch 3.x
in repository https://gitbox.apache.org/repos/asf/couchdb.git
The following commit(s) were added to refs/heads/3.x by this push:
new 75a4a3ee Use correct args in get_doc_info
75a4a3ee is described below
commit 75a4a3eedc3154daa4691f114ff921aa4350e88f
Author: Jay Doane <ja...@apache.org>
AuthorDate: Tue Apr 20 12:57:27 2021 -0700
Use correct args in get_doc_info
`fabric.get_doc_info/3` requires three arguments, but this line was
only using one.
---
test/elixir/lib/step/user.ex | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/test/elixir/lib/step/user.ex b/test/elixir/lib/step/user.ex
index 63b8f44..49ef0fe 100644
--- a/test/elixir/lib/step/user.ex
+++ b/test/elixir/lib/step/user.ex
@@ -79,7 +79,7 @@ defmodule Couch.Test.Setup.Step.User do
:config.delete("admins", String.to_charlist(name), false)
else
doc_id = "org.couchdb.user:#{name}"
- assert {:ok, doc_info(revs: [rev | _])} = :fabric.get_doc_info(users_db)
+ assert {:ok, doc_info(revs: [rev | _])} = :fabric.get_doc_info(users_db, doc_id, [])
doc = :couch_doc.from_json_obj(%{
_id: doc_id,
_rev: rev,