diff options
author | Jay Doane <jaydoane@apache.org> | 2021-04-20 12:57:27 -0700 |
---|---|---|
committer | Jay Doane <jay.s.doane@gmail.com> | 2021-04-20 14:44:42 -0700 |
commit | 75a4a3eedc3154daa4691f114ff921aa4350e88f (patch) | |
tree | ab9e22b8877bc0e9811e0b5696f95130f384d924 | |
parent | 88d1824edea725798ee68da74b42e55944f54e67 (diff) | |
download | couchdb-75a4a3eedc3154daa4691f114ff921aa4350e88f.tar.gz |
Use correct args in get_doc_info
`fabric.get_doc_info/3` requires three arguments, but this line was
only using one.
-rw-r--r-- | test/elixir/lib/step/user.ex | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/elixir/lib/step/user.ex b/test/elixir/lib/step/user.ex index 63b8f4465..49ef0feae 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, |