|
@@ -34,7 +34,8 @@ init_per_suite(Config) ->
|
|
|
(KeyPath) -> meck:passthrough([KeyPath])
|
|
(KeyPath) -> meck:passthrough([KeyPath])
|
|
|
end),
|
|
end),
|
|
|
meck:expect(emqx_config, get, fun([psk_authentication, init_file], _) ->
|
|
meck:expect(emqx_config, get, fun([psk_authentication, init_file], _) ->
|
|
|
- filename:join([code:lib_dir(emqx_psk, test), "data/init.psk"]);
|
|
|
|
|
|
|
+ filename:join([code:lib_dir(emqx_psk, test),
|
|
|
|
|
+ "data/init.psk"]);
|
|
|
([psk_authentication, separator], _) -> <<":">>;
|
|
([psk_authentication, separator], _) -> <<":">>;
|
|
|
(KeyPath, Default) -> meck:passthrough([KeyPath, Default])
|
|
(KeyPath, Default) -> meck:passthrough([KeyPath, Default])
|
|
|
end),
|
|
end),
|