test(authn): fix test case after authentication default value added

This commit is contained in:
Zaiming (Stone) Shi 2023-04-30 10:18:18 +02:00
parent 2e9dca280c
commit 03ae61569f
1 changed files with 2 additions and 1 deletions

View File

@ -78,7 +78,8 @@ t_check_schema(_Config) ->
).
t_union_member_selector(_) ->
?assertMatch(#{authentication := undefined}, check(undefined)),
%% default value for authentication
?assertMatch(#{authentication := []}, check(undefined)),
C1 = #{<<"backend">> => <<"built_in_database">>},
?assertThrow(
#{