Misc fixes (#1290)

This commit is contained in:
Roland Praml
2018-02-27 11:06:35 +13:00
committed by Rob Bygrave
parent ac9f3408b2
commit bb418456e3
5 changed files with 27 additions and 21 deletions
@@ -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), "");
}
}