mirror of
https://github.com/ebean-orm/ebean.git
synced 2026-11-18 22:59:25 +00:00
Misc fixes (#1290)
This commit is contained in:
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");
|
||||
|
||||
Reference in new issue
Block a user