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

test: fix message-transformation test to match "" for undefined

zmstone 1 год назад
Родитель
Сommit
7003e31696

+ 1 - 1
apps/emqx_message_transformation/test/emqx_message_transformation_http_api_SUITE.erl

@@ -644,7 +644,7 @@ t_smoke_test_2(_Config) ->
             <<"node">> := NodeBin,
             <<"peername">> := <<"127.0.0.1:", _/binary>>,
             <<"publish_received_at">> := PRAt,
-            <<"username">> := <<"undefined">>,
+            <<"username">> := <<"">>,
             <<"flags">> := #{<<"dup">> := false, <<"retain">> := false},
             <<"timestamp">> := _,
             <<"pub_props">> := #{