Skip to content

Commit 57d0267

Browse files
author
Jason Lyle
committed
Update default file respected test to work with SQLcl 24.1.0
1 parent 79a59cd commit 57d0267

File tree

2 files changed

+12
-6
lines changed

2 files changed

+12
-6
lines changed

source/sqlcl_direct_unit_tests/sqlcl-liquibase-defaults-file-respected/changelog.xml

Lines changed: 11 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,21 +6,27 @@
66
xsi:schemaLocation="http://www.liquibase.org/xml/ns/dbchangelog http://www.liquibase.org/xml/ns/dbchangelog/dbchangelog-4.17.xsd"
77
>
88
<changeSet
9+
id="test_1"
910
author="jlyle"
10-
id="test1"
1111
runOnChange="true"
1212
runAlways="true"
13+
context="foo"
1314
>
14-
<sql>select 1 from sys.dual;</sql>
15+
<sql endDelimiter="/">
16+
begin
17+
raise_application_error(-20001, 'SHOULD NOT HAVE RUN');
18+
end;
19+
/
20+
</sql>
1521
</changeSet>
1622

17-
<!-- Identical changeset identifier needed to test defaults file -->
1823
<changeSet
24+
id="test_2"
1925
author="jlyle"
20-
id="test1"
2126
runOnChange="true"
2227
runAlways="true"
28+
context="runme"
2329
>
24-
<sql>select 1 from sys.dual;</sql>
30+
<output>Should run</output>
2531
</changeSet>
2632
</databaseChangeLog>
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
liquibase.allowDuplicatedChangesetIdentifiers=true
1+
liquibase.command.contexts=runme

0 commit comments

Comments
 (0)