diff --git a/apps/emqx_coap/test/emqx_coap_SUITE.erl b/apps/emqx_coap/test/emqx_coap_SUITE.erl index 49202f1ed..ed59b309c 100644 --- a/apps/emqx_coap/test/emqx_coap_SUITE.erl +++ b/apps/emqx_coap/test/emqx_coap_SUITE.erl @@ -130,7 +130,7 @@ t_observe_wildcard(_Config) -> ?assert(is_pid(SubPid)), %% Publish a message - emqx:publish(emqx_message:make(Topic, Payload)), + emqx:publish(emqx_message:make(<<"a/b">>, Payload)), Notif = receive_notification(), ?LOGT("observer get Notif=~p", [Notif]),