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 20:01:47 UTC

[couchdb] 01/01: 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 fix-test-get-doc-info
in repository https://gitbox.apache.org/repos/asf/couchdb.git

commit 10feafeedc943a28d958c61021d164e708873e47
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,