|
|
@@ -36,7 +36,7 @@ prop_confs() ->
|
|
|
Schema = cuttlefish_schema:files(filelib:wildcard(code:priv_dir(emqx_web_hook) ++ "/*.schema")),
|
|
|
?ALL({Url, Confs0}, {url(), confs()},
|
|
|
begin
|
|
|
- Confs = [{"web.hook.api.url", Url}|Confs0],
|
|
|
+ Confs = [{"web.hook.url", Url}|Confs0],
|
|
|
Envs = cuttlefish_generator:map(Schema, cuttlefish_conf_file(Confs)),
|
|
|
|
|
|
assert_confs(Confs, Envs),
|
|
|
@@ -66,7 +66,7 @@ set_special_cfgs(_) ->
|
|
|
application:set_env(emqx, modules_loaded_file, undefined),
|
|
|
ok.
|
|
|
|
|
|
-assert_confs([{"web.hook.api.url", Url}|More], Envs) ->
|
|
|
+assert_confs([{"web.hook.url", Url}|More], Envs) ->
|
|
|
%% Assert!
|
|
|
Url = deep_get_env("emqx_web_hook.url", Envs),
|
|
|
assert_confs(More, Envs);
|