Просмотр исходного кода

test(emqx_coap): publish to non-wildcard topic

Zaiming Shi 4 лет назад
Родитель
Сommit
b97b36d077
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      apps/emqx_coap/test/emqx_coap_SUITE.erl

+ 1 - 1
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]),