Merge pull request #10917 from paulozulato/block-oracle-default-database-connection
test(oracle): add match for reason field in a test case
This commit is contained in:
commit
c1d935fd34
|
@ -523,7 +523,7 @@ t_no_sid_nor_service_name(Config0) ->
|
||||||
NewOracleConfig = {oracle_config, OracleConfig},
|
NewOracleConfig = {oracle_config, OracleConfig},
|
||||||
Config = lists:keyreplace(oracle_config, 1, Config0, NewOracleConfig),
|
Config = lists:keyreplace(oracle_config, 1, Config0, NewOracleConfig),
|
||||||
?assertMatch(
|
?assertMatch(
|
||||||
{error, #{kind := validation_error}},
|
{error, #{kind := validation_error, reason := "neither SID nor Service Name was set"}},
|
||||||
create_bridge(Config)
|
create_bridge(Config)
|
||||||
),
|
),
|
||||||
ok.
|
ok.
|
||||||
|
|
Loading…
Reference in New Issue