fix: udpate test cases for new dashboard configs
This commit is contained in:
parent
8e6b98af68
commit
b04ca3cb99
|
@ -75,7 +75,7 @@ end_per_suite(_Config) ->
|
|||
mria:stop().
|
||||
|
||||
set_special_configs(emqx_management) ->
|
||||
Listeners = [#{protocol => http, port => 8081}],
|
||||
Listeners = #{http => #{port => 8081}},
|
||||
Config = #{listeners => Listeners,
|
||||
applications => [#{id => "admin", secret => "public"}]},
|
||||
emqx_config:put([emqx_management], Config),
|
||||
|
|
|
@ -32,8 +32,11 @@ set_default_config() ->
|
|||
set_default_config(<<"admin">>).
|
||||
|
||||
set_default_config(DefaultUsername) ->
|
||||
Config = #{listeners => [#{protocol => http,
|
||||
port => 18083}],
|
||||
Config = #{listeners => #{
|
||||
http => #{
|
||||
port => 18083
|
||||
}
|
||||
},
|
||||
default_username => DefaultUsername,
|
||||
default_password => <<"public">>,
|
||||
i18n_lang => en
|
||||
|
|
Loading…
Reference in New Issue