Skip to content

Commit

Permalink
issue #91: fix test case
Browse files Browse the repository at this point in the history
A code replace messed up the test.

Signed-off-by: Matteo Cafasso <[email protected]>
  • Loading branch information
noxdafox committed Oct 30, 2022
1 parent 1235665 commit b2227b7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/policies_test.exs
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ defmodule RabbitMQMessageDeduplication.Policies.Test do
test "queue policy validation", %{} do
:ok = Policies.validate_policy([{<<"x-message-deduplication">>, true},
{<<"x-message-deduplication">>, false}])
{:error, _msg, ["true"]} = Policies.validate_policy([{<<"x-_msg-deduplication">>, "true"}])
{:error, _msg, ["true"]} = Policies.validate_policy([{<<"x-message-deduplication">>, "true"}])
end

test "queue exchange validation", %{} do
Expand Down

0 comments on commit b2227b7

Please sign in to comment.