diff options
| -rw-r--r-- | test/policy_SUITE.erl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/policy_SUITE.erl b/test/policy_SUITE.erl index 0920b25418..634f198858 100644 --- a/test/policy_SUITE.erl +++ b/test/policy_SUITE.erl @@ -130,7 +130,7 @@ publish(Ch, Q, Ps) -> publish1(Ch, Q, P) -> amqp_channel:cast(Ch, #'basic.publish'{routing_key = Q}, #amqp_msg{props = props(P), - payload = erlang:md5(P)}). + payload = erlang:md5(term_to_binary(P))}). publish1(Ch, Q, P, Pd) -> amqp_channel:cast(Ch, #'basic.publish'{routing_key = Q}, |
