test(authn): fix test case after authentication default value added
This commit is contained in:
parent
2e9dca280c
commit
03ae61569f
|
@ -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(
|
||||
#{
|
||||
|
|
Loading…
Reference in New Issue