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:
Paulo Zulato 2023-06-02 18:16:12 -03:00 committed by GitHub
commit c1d935fd34
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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.