Skip to content

Commit

Permalink
Fix tests after rebase
Browse files Browse the repository at this point in the history
  • Loading branch information
simonprev committed Mar 11, 2020
1 parent 00ffabb commit d9622dd
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions test/changeset_parser_test.exs
Original file line number Diff line number Diff line change
Expand Up @@ -256,7 +256,7 @@ defmodule AbsintheErrorPayload.ChangesetParserTest do
assert message.code == :inclusion
assert message.key == :title
assert message.field == :title
assert message.options == [enum: ["world"]]
assert message.options == [%{key: :enum, value: "world"}]
assert message.message != ""
assert message.template != ""
end
Expand All @@ -271,7 +271,7 @@ defmodule AbsintheErrorPayload.ChangesetParserTest do
assert message.code == :subset
assert message.key == :topics
assert message.field == :topics
assert message.options == [enum: ["cat", "dog"]]
assert message.options == [%{key: :enum, value: "cat,dog"}]
assert message.message != ""
assert message.template != ""
end
Expand All @@ -286,7 +286,7 @@ defmodule AbsintheErrorPayload.ChangesetParserTest do
assert message.code == :exclusion
assert message.key == :title
assert message.field == :title
assert message.options == [enum: ["world"]]
assert message.options == [%{key: :enum, value: "world"}]
assert message.message != ""
assert message.template != ""
end
Expand Down

0 comments on commit d9622dd

Please sign in to comment.