Skip to content

Commit

Permalink
Fix failing test due to "ABC" digital token now being registered
Browse files Browse the repository at this point in the history
  • Loading branch information
dhedlund committed Sep 30, 2023
1 parent 6afa3cd commit cb6a03b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/money_ecto_test.exs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ defmodule Money.Ecto.Test do

describe "Money.Ecto.Composite.Type specific tests" do
test "load a tuple with an unknown currency code produces an error" do
assert Money.Ecto.Composite.Type.load({"ABC", 100}) == :error
assert Money.Ecto.Composite.Type.load({"INVALID", 100}) == :error
end

test "load a tuple produces a Money struct" do
Expand Down

0 comments on commit cb6a03b

Please sign in to comment.