Modify tests to use isPostgresCompatible() (to effectively include Yugabyte)

This commit is contained in:
Rob Bygrave
2022-02-02 23:25:13 +13:00
parent 4899f23773
commit 389f2bcd2f
25 changed files with 37 additions and 49 deletions
@@ -40,7 +40,7 @@ public class TestDeleteByQuery extends BaseTestCase {
assertSql(sql.get(0)).contains("delete from bbookmark_user where id in (select top 3 t0.id from bbookmark_user t0 where t0.name like ");
} else {
assertSql(sql.get(0)).contains("delete from bbookmark_user where id in (select t0.id from bbookmark_user t0 where t0.name like");
if (isH2() || isPostgres()) {
if (isH2() || isPostgresCompatible()) {
assertSql(sql.get(0)).contains("limit 3");
}
}