mirror of
https://github.com/ebean-orm/ebean.git
synced 2024-04-21 10:51:47 +00:00
Fix for test asserts to run against Postgres with escape clause on LIKE expression
This commit is contained in:
+2
-1
@@ -61,7 +61,8 @@ public class DefaultExampleExpressionTest extends BaseTestCase {
|
||||
|
||||
query1.findList();
|
||||
|
||||
assertThat(query1.getGeneratedSql()).contains("(t0.name like ? and t1.city like ? )");
|
||||
assertThat(query1.getGeneratedSql()).contains("(t0.name like ? ");
|
||||
assertThat(query1.getGeneratedSql()).contains(" and t1.city like ? ");
|
||||
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user