You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: ebean-test/src/test/java/org/tests/query/TestQueryFilterMany.java
+1-2Lines changed: 1 addition & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -339,7 +339,6 @@ public void test_filterMany_copy_findList() {
339
339
340
340
List<String> sqlList = LoggedSql.stop();
341
341
assertEquals(1, sqlList.size());
342
-
assertThat(sqlList.get(0)).contains("left join o_order t1 on t1.kcustomer_id = t0.id and t1.order_date is not null left join o_customer t2 on t2.id = t1.kcustomer_id and t1.status in (?) order by t0.id");
343
342
if (isPostgresCompatible()) {
344
343
assertThat(sqlList.get(0)).contains("left join o_customer t2 on t2.id = t1.kcustomer_id and t1.status = any(?) order by t0.id");
345
344
} else {
@@ -441,7 +440,7 @@ public void testFilterManyUsingExpression() {
441
440
442
441
assertThat(sql).hasSize(1);
443
442
if (isSqlServer()) {
444
-
assertSql(sql.get(0)).contains(" from o_customer t0 left join contact t1 on t1.customer_id = t0.id and (t1.first_name is not null and lower(t1.email) like ? order by t0.id; --bind(rob%)");
443
+
assertSql(sql.get(0)).contains(" from o_customer t0 left join contact t1 on t1.customer_id = t0.id and (t1.first_name is not null and lower(t1.email) like ?) order by t0.id; --bind(rob%)");
445
444
} else {
446
445
assertSql(sql.get(0)).contains(" from o_customer t0 left join contact t1 on t1.customer_id = t0.id and (t1.first_name is not null and lower(t1.email) like ? escape'|') order by t0.id; --bind(rob%)");
0 commit comments