Skip to content

Commit 73ac399

Browse files
committed
Update test TestErrorBindLog for DB2
1 parent 3a87625 commit 73ac399

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ebean-test/src/test/java/org/tests/basic/TestErrorBindLog.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@ void test() {
1717
DB.find(Order.class).where().gt("id", "JUNK").findList();
1818
} catch (PersistenceException e) {
1919
String msg = e.getMessage();
20-
if (isHana()) {
21-
assertThat(msg).contains("Error with property[1] dt[12]data[JUNK]");
20+
if (isHana() || isDb2()) {
21+
assertThat(msg).contains("Error with property");
2222
} else {
2323
assertThat(msg).contains("Bind values:");
2424
}

0 commit comments

Comments
 (0)