zhouzb 5 лет назад
Родитель
Сommit
92d307b1b3
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      apps/emqx_auth_http/test/emqx_auth_http_SUITE.erl

+ 1 - 1
apps/emqx_auth_http/test/emqx_auth_http_SUITE.erl

@@ -66,7 +66,7 @@ set_special_configs(emqx, _Schmea, _Inet) ->
 set_special_configs(emqx_auth_http, Schema, Inet) ->
     ServerAddr = http_server(Schema, Inet),
 
-    AuthReq = #{method => post,
+    AuthReq = #{method => get,
                 url => ServerAddr ++ "/mqtt/auth",
                 headers => [{"content-type", "application/json"}],
                 params => [{"clientid", "%c"}, {"username", "%u"}, {"password", "%P"}]},