mirror of
https://github.com/ebean-orm/ebean.git
synced 2024-04-21 10:51:47 +00:00
Misc fixes (#1290)
This commit is contained in:
committed by
Rob Bygrave
parent
ac9f3408b2
commit
bb418456e3
@@ -7,7 +7,6 @@ import org.junit.Test;
|
||||
import org.tests.model.basic.Country;
|
||||
import org.tests.model.basic.ResetBasicData;
|
||||
|
||||
import static org.assertj.core.api.Assertions.assertThat;
|
||||
|
||||
public class TestWhereIn extends BaseTestCase {
|
||||
|
||||
@@ -21,10 +20,7 @@ public class TestWhereIn extends BaseTestCase {
|
||||
.query();
|
||||
|
||||
query.findList();
|
||||
if (isPostgres()) {
|
||||
assertThat(sqlOf(query)).contains(" = any(");
|
||||
}
|
||||
|
||||
platformAssertIn(sqlOf(query), "");
|
||||
}
|
||||
|
||||
|
||||
@@ -38,8 +34,6 @@ public class TestWhereIn extends BaseTestCase {
|
||||
.query();
|
||||
|
||||
query.findList();
|
||||
if (isPostgres()) {
|
||||
assertThat(sqlOf(query)).contains(" != all(");
|
||||
}
|
||||
platformAssertNotIn(sqlOf(query), "");
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user