Skip to content

Commit

Permalink
New boolean input logic allows 'off' to be valid, so fix test (#5751)
Browse files Browse the repository at this point in the history
  • Loading branch information
wwillard7800 authored Apr 1, 2024
1 parent 02a6af0 commit 257bc18
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -453,10 +453,10 @@ Optional Args:
password : { it.password },
changelogFile: "changelogs/h2/complete/simple.changelog.xml"
]
globalArguments = ["liquibase.preserveSchemaCase": "off"]
globalArguments = ["liquibase.preserveSchemaCase": "foo"]

expectedException = CommandExecutionException.class
expectedExceptionMessage = Pattern.compile(".*WARNING: The input for 'liquibase.preserveSchemaCase' is 'off', which is not valid. Options: 'true' or 'false'.*")
expectedExceptionMessage = Pattern.compile(".*WARNING: The input for 'liquibase.preserveSchemaCase' is 'foo', which is not valid. Options: 'true' or 'false'.*")
}

run "Should use LoggingChangeExecListener", {
Expand Down

0 comments on commit 257bc18

Please sign in to comment.