test: stop testing i18n.conf
This commit is contained in:
parent
d014b80834
commit
08c1d5e5ae
|
@ -414,17 +414,7 @@ doc_gen_test() ->
|
|||
60,
|
||||
fun() ->
|
||||
Dir = "tmp",
|
||||
ok = filelib:ensure_dir(filename:join("tmp", foo)),
|
||||
I18nFile = filename:join([
|
||||
"_build",
|
||||
"test",
|
||||
"lib",
|
||||
"emqx_dashboard",
|
||||
"priv",
|
||||
"i18n.conf"
|
||||
]),
|
||||
_ = emqx_conf:dump_schema(Dir, emqx_conf_schema, I18nFile),
|
||||
ok
|
||||
ok = emqx_conf:dump_schema(Dir, emqx_conf_schema)
|
||||
end
|
||||
}.
|
||||
|
||||
|
|
|
@ -64,11 +64,6 @@ set_default_config(DefaultUsername, HAProxyEnabled, Opts) ->
|
|||
i18n_lang => en
|
||||
},
|
||||
emqx_config:put([dashboard], Config),
|
||||
I18nFile = filename:join([
|
||||
code:priv_dir(emqx_dashboard),
|
||||
"i18n.conf"
|
||||
]),
|
||||
application:set_env(emqx_dashboard, i18n_file, I18nFile),
|
||||
ok.
|
||||
|
||||
request(Method, Url) ->
|
||||
|
|
|
@ -13,16 +13,6 @@ doc_gen_test() ->
|
|||
60,
|
||||
fun() ->
|
||||
Dir = "tmp",
|
||||
ok = filelib:ensure_dir(filename:join("tmp", foo)),
|
||||
I18nFile = filename:join([
|
||||
"_build",
|
||||
"test",
|
||||
"lib",
|
||||
"emqx_dashboard",
|
||||
"priv",
|
||||
"i18n.conf"
|
||||
]),
|
||||
_ = emqx_conf:dump_schema(Dir, emqx_enterprise_schema, I18nFile),
|
||||
ok
|
||||
ok = emqx_conf:dump_schema(Dir, emqx_enterprise_schema)
|
||||
end
|
||||
}.
|
||||
|
|
Loading…
Reference in New Issue