diff options
author | Paul J. Davis <paul.joseph.davis@gmail.com> | 2020-02-10 12:42:22 -0600 |
---|---|---|
committer | Paul J. Davis <paul.joseph.davis@gmail.com> | 2020-02-12 17:19:39 -0600 |
commit | 1cfd2a5d0e27ad5fe985c9b454f6e0c0c1c831f9 (patch) | |
tree | 9349308c0cfeb11cf1c36914e59631687c669fb1 | |
parent | a50fbfa9635f71d43da0403667370485f84d8d6b (diff) | |
download | couchdb-1cfd2a5d0e27ad5fe985c9b454f6e0c0c1c831f9.tar.gz |
Fix doc attachment tests
-rw-r--r-- | src/fabric/test/fabric2_doc_att_tests.erl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/fabric/test/fabric2_doc_att_tests.erl b/src/fabric/test/fabric2_doc_att_tests.erl index 331e1a4e8..ac531e913 100644 --- a/src/fabric/test/fabric2_doc_att_tests.erl +++ b/src/fabric/test/fabric2_doc_att_tests.erl @@ -175,9 +175,9 @@ large_att({Db, _}) -> AttData = iolist_to_binary([ <<"foobar">> || _ <- lists:seq(1, 60000) ]), - Att1 = mk_att("long.txt", AttData), + Att1 = mk_att(<<"long.txt">>, AttData), {ok, _} = create_doc(Db, DocId, [Att1]), - ?assertEqual(#{"long.txt" => AttData}, read_atts(Db, DocId)), + ?assertEqual(#{<<"long.txt">> => AttData}, read_atts(Db, DocId)), {ok, Doc} = fabric2_db:open_doc(Db, DocId), #doc{atts = [Att2]} = Doc, |