test(oracle): add match for reason field in a test case
Fixes https://emqx.atlassian.net/browse/EMQX-9980
This commit is contained in:
parent
364601c3aa
commit
92c72c6994
|
@ -525,7 +525,7 @@ t_no_sid_nor_service_name(Config0) ->
|
|||
NewOracleConfig = {oracle_config, OracleConfig},
|
||||
Config = lists:keyreplace(oracle_config, 1, Config0, NewOracleConfig),
|
||||
?assertMatch(
|
||||
{error, #{kind := validation_error}},
|
||||
{error, #{kind := validation_error, reason := "neither SID nor Service Name was set"}},
|
||||
create_bridge(Config)
|
||||
),
|
||||
ok.
|
||||
|
|
Loading…
Reference in New Issue