Przeglądaj źródła

chore: fix failed test cases

JianBo He 1 rok temu
rodzic
commit
83a6687900

+ 1 - 1
apps/emqx_auth/test/emqx_authz/emqx_authz_api_source_http_SUITE.erl

@@ -128,7 +128,7 @@ t_http_headers_api(_) ->
     ),
 
     {ok, 204, _} = request(put, uri(["authorization", "sources", "http"]), ?SOURCE_HTTP#{
-        <<"headers">> => []
+        <<"headers">> => #{}
     }),
 
     {ok, 200, Result4} = request(get, uri(["authorization", "sources", "http"]), []),