Skip to content

Commit d2b52bf

Browse files
committed
fixed test
1 parent a2ab0b3 commit d2b52bf

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

test/mongo/encoder_test.exs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,7 @@ defmodule Mongo.EncoderTest do
5353

5454
struct_to_insert = %CustomStructWithoutProtocol{a: 10, b: 20, c: 30, id: "x"}
5555

56+
assert {:ok, _} = Mongo.insert_one(c.pid, coll, struct_to_insert, [])
5657
assert [%{"a" => 10, "b" => 20, "c" => 30, "id" => "x"}] = Mongo.find(c.pid, coll, %{}) |> Enum.to_list()
5758
end
5859

0 commit comments

Comments
 (0)