Misc fixes (#1290)

This commit is contained in:
Roland Praml authored and Rob Bygrave committed 2018-02-27 11:06:35 +13:00
1 parent ac9f3408b2
commit bb418456e3
5 files changed
+27 -21

No files matched your search

@@ -5,6 +5,9 @@ import io.ebean.Ebean;
import io.ebean.SqlQuery;
import io.ebean.SqlRow;
import io.ebean.Version;
import io.ebean.annotation.ForPlatform;
import io.ebean.annotation.Platform;
import org.tests.model.converstation.User;
import org.junit.Test;
import org.slf4j.Logger;
@@ -20,12 +23,9 @@ public class TestHistoryInsert extends BaseTestCase {
private final Logger logger = LoggerFactory.getLogger(TestHistoryInsert.class);
@Test
@ForPlatform({Platform.H2, Platform.POSTGRES})
public void test() throws InterruptedException {
if (!isH2() && !isPostgres()) {
return;
}
User user = new User();
user.setName("Jim");
user.setEmail("one@email.com");