mirror of
https://github.com/ebean-orm/ebean.git
synced 2024-04-21 10:51:47 +00:00
No effective change - imports of Assert in tests + formatting
This commit is contained in:
@@ -7,7 +7,6 @@ import org.junit.Test;
|
||||
|
||||
import com.avaje.ebean.BaseTestCase;
|
||||
import com.avaje.ebean.Ebean;
|
||||
import com.avaje.ebean.Transaction;
|
||||
import com.avaje.tests.model.basic.Customer;
|
||||
import com.avaje.tests.model.basic.EBasicVer;
|
||||
import com.avaje.tests.model.basic.Order;
|
||||
@@ -20,9 +19,9 @@ public class TestLogTransLogOnError extends BaseTestCase {
|
||||
|
||||
ResetBasicData.reset();
|
||||
|
||||
Transaction t = Ebean.beginTransaction();
|
||||
Ebean.beginTransaction();
|
||||
try {
|
||||
// t.log("--- hello");
|
||||
|
||||
Ebean.find(Customer.class).findList();
|
||||
Ebean.find(Order.class).where().gt("id", 1).findList();
|
||||
|
||||
@@ -52,9 +51,8 @@ public class TestLogTransLogOnError extends BaseTestCase {
|
||||
|
||||
ResetBasicData.reset();
|
||||
|
||||
Transaction t = Ebean.beginTransaction();
|
||||
Ebean.beginTransaction();
|
||||
try {
|
||||
// t.log("--- hello testPersistError");
|
||||
Ebean.find(Customer.class).findList();
|
||||
|
||||
EBasicVer newBean = new EBasicVer();
|
||||
|
||||
Reference in New Issue
Block a user