test: fix required fields
This commit is contained in:
parent
cef16ac382
commit
5d9df74be7
|
@ -77,6 +77,7 @@
|
|||
<<"type">> => <<"redis">>,
|
||||
<<"enable">> => true,
|
||||
<<"servers">> => <<?REDIS_SINGLE_HOST, ",127.0.0.1:6380">>,
|
||||
<<"redis_type">> => <<"single">>,
|
||||
<<"pool_size">> => 1,
|
||||
<<"database">> => 0,
|
||||
<<"password">> => <<"ee">>,
|
||||
|
|
|
@ -240,8 +240,8 @@ setup_config(SpecialParams) ->
|
|||
raw_redis_authz_config() ->
|
||||
#{
|
||||
<<"enable">> => <<"true">>,
|
||||
|
||||
<<"type">> => <<"redis">>,
|
||||
<<"redis_type">> => <<"single">>,
|
||||
<<"cmd">> => <<"HGETALL mqtt_user:${username}">>,
|
||||
<<"database">> => <<"1">>,
|
||||
<<"password">> => <<"public">>,
|
||||
|
|
|
@ -77,7 +77,8 @@ t_get_basic_usage_info_1(_Config) ->
|
|||
setup_fake_telemetry_data() ->
|
||||
ConnectorConf =
|
||||
#{<<"connectors">> =>
|
||||
#{<<"mqtt">> => #{<<"my_mqtt_connector">> => #{}}}},
|
||||
#{<<"mqtt">> => #{<<"my_mqtt_connector">> =>
|
||||
#{ server => "127.0.0.1:1883" }}}},
|
||||
MQTTConfig = #{ connector => <<"mqtt:my_mqtt_connector">>
|
||||
, enable => true
|
||||
, direction => ingress
|
||||
|
|
Loading…
Reference in New Issue