summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan Lehnardt <jan@apache.org>2020-07-26 14:50:39 +0200
committerJan Lehnardt <jan@apache.org>2020-07-26 14:50:39 +0200
commit2060ca509111603ea8f513e4b26fe39bf3019e20 (patch)
tree1f8e465bb2bbb451fe46f4386677fb15bc4e94bb
parent3eb248035b89db936907666f748d33c9dafc692a (diff)
downloadcouchdb-feat/access-3.x.tar.gz
revert temp test errorsfeat/access-3.x
-rw-r--r--test/elixir/test/bulk_docs_test.exs8
1 files changed, 3 insertions, 5 deletions
diff --git a/test/elixir/test/bulk_docs_test.exs b/test/elixir/test/bulk_docs_test.exs
index a689154fc..596454b1b 100644
--- a/test/elixir/test/bulk_docs_test.exs
+++ b/test/elixir/test/bulk_docs_test.exs
@@ -125,11 +125,9 @@ defmodule BulkDocsTest do
docs = [%{_id: "0", a: 0}, %{_id: "1", a: 1}, %{_id: "1", a: 2}, %{_id: "3", a: 3}]
rows = bulk_post(docs, ctx[:db_name]).body
- # TODO: we had to change the order here, this might point to the same
- # missing, or overzealous application of lists:reverse() as elsewhere.
- assert Enum.at(rows, 2)["id"] == "1"
- assert Enum.at(rows, 2)["ok"]
- assert Enum.at(rows, 1)["error"] == "conflict"
+ assert Enum.at(rows, 1)["id"] == "1"
+ assert Enum.at(rows, 1)["ok"]
+ assert Enum.at(rows, 2)["error"] == "conflict"
end
defp bulk_post(docs, db) do