mirror of
https://github.com/ebean-orm/ebean.git
synced 2026-10-22 11:43:09 +00:00
Tidy tests only - ClusterTest and TestAggregateFormula
This commit is contained in:
@@ -81,7 +81,6 @@ public class TestAggregateFormula extends BaseTestCase {
|
||||
for (Contact contact : contacts) {
|
||||
Customer customer = contact.getCustomer();
|
||||
assertNotNull(customer.getName());
|
||||
assertNotNull(customer.getStatus());
|
||||
}
|
||||
|
||||
List<String> sql = LoggedSqlCollector.stop();
|
||||
@@ -112,7 +111,6 @@ public class TestAggregateFormula extends BaseTestCase {
|
||||
for (Contact contact : contacts) {
|
||||
Customer customer = contact.getCustomer();
|
||||
assertNotNull(customer.getName());
|
||||
assertNotNull(customer.getStatus());
|
||||
final Address billingAddress = customer.getBillingAddress();
|
||||
if (billingAddress != null) {
|
||||
assertNotNull(billingAddress.getCountry());
|
||||
|
||||
@@ -40,6 +40,7 @@ public class ClusterTest {
|
||||
foo.save();
|
||||
|
||||
DB.getServerCacheManager().clearAll();
|
||||
DB.getDefault().getMetaInfoManager().resetAllMetrics();
|
||||
other.getMetaInfoManager().resetAllMetrics();
|
||||
|
||||
Person fooA = DB.find(Person.class, foo.getId());
|
||||
|
||||
Reference in New Issue
Block a user