test: fix test cases after schema type namespace change

This commit is contained in:
Zaiming (Stone) Shi 2023-11-22 16:58:05 +01:00
parent b643741920
commit d9f964a44f
2 changed files with 2 additions and 2 deletions

View File

@ -54,7 +54,7 @@ t_check_schema(_Config) ->
?assertThrow( ?assertThrow(
#{ #{
path := "authentication.1.password_hash_algorithm.name", path := "authentication.1.password_hash_algorithm.name",
matched_type := "authn:builtin_db/authn-hash:simple", matched_type := "authn:builtin_db/authn_hash:simple",
reason := unable_to_convert_to_enum_symbol reason := unable_to_convert_to_enum_symbol
}, },
Check(ConfigNotOk) Check(ConfigNotOk)

View File

@ -555,7 +555,7 @@ t_page_read(_) ->
ok = emqtt:disconnect(C1). ok = emqtt:disconnect(C1).
t_only_for_coverage(_) -> t_only_for_coverage(_) ->
?assertEqual("retainer", emqx_retainer_schema:namespace()), ?assertEqual(retainer, emqx_retainer_schema:namespace()),
ignored = gen_server:call(emqx_retainer, unexpected), ignored = gen_server:call(emqx_retainer, unexpected),
ok = gen_server:cast(emqx_retainer, unexpected), ok = gen_server:cast(emqx_retainer, unexpected),
unexpected = erlang:send(erlang:whereis(emqx_retainer), unexpected), unexpected = erlang:send(erlang:whereis(emqx_retainer), unexpected),