You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@couchdb.apache.org by ga...@apache.org on 2019/03/05 09:19:08 UTC

[couchdb] branch jenkins-add-attachment-test updated: add w:3

This is an automated email from the ASF dual-hosted git repository.

garren pushed a commit to branch jenkins-add-attachment-test
in repository https://gitbox.apache.org/repos/asf/couchdb.git


The following commit(s) were added to refs/heads/jenkins-add-attachment-test by this push:
     new 5b41c9a  add w:3
5b41c9a is described below

commit 5b41c9a5b953436fd30cb7555f9b225c05d78814
Author: Garren Smith <ga...@gmail.com>
AuthorDate: Tue Mar 5 11:18:52 2019 +0200

    add w:3
---
 test/elixir/test/attachments.exs | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/test/elixir/test/attachments.exs b/test/elixir/test/attachments.exs
index cae0069..42c78f7 100644
--- a/test/elixir/test/attachments.exs
+++ b/test/elixir/test/attachments.exs
@@ -354,7 +354,8 @@ defmodule AttachmentsTest do
     resp =
       Couch.put(
         "/#{db_name}/stub_doc",
-        body: stub_doc
+        body: stub_doc,
+        query: %{w: 3}
       )
 
     assert resp.status_code in [201, 202]
@@ -371,7 +372,7 @@ defmodule AttachmentsTest do
     resp =
       Couch.put(
         "/#{db_name}/stub_doc",
-        query: %{rev: rev},
+        query: %{rev: rev, w: 3},
         body: stub_doc
       )