#2476 - tidy tests

This commit is contained in:
Rob Bygrave
2022-01-17 15:38:41 +13:00
parent 82862deccc
commit 9b116c9bf6
2 changed files with 4 additions and 7 deletions
@@ -9,10 +9,10 @@ import java.util.List;
import static org.assertj.core.api.Assertions.assertThat;
public class TestElementCollectionEmbeddedListCache extends BaseTestCase {
class TestElementCollectionEmbeddedListCache extends BaseTestCase {
@Test
public void test() {
void test() {
EcblPerson person = new EcblPerson("CacheL");
person.getPhoneNumbers().add(new EcPhone("64", "021","1234"));
@@ -86,12 +86,10 @@ public class TestElementCollectionEmbeddedListCache extends BaseTestCase {
assertThat(four.getPhoneNumbers().toString()).contains("61-07-11");
assertThat(four.getPhoneNumbers()).hasSize(1);
DB.delete(four);
sql = LoggedSql.collect();
assertThat(sql).hasSize(2);
LoggedSql.stop();
}
}
@@ -10,11 +10,10 @@ import java.util.List;
import static org.assertj.core.api.Assertions.assertThat;
public class TestElementCollectionEmbeddedListCache2 extends BaseTestCase {
class TestElementCollectionEmbeddedListCache2 extends BaseTestCase {
@Disabled
@Test
public void test() {
void test() {
EcblPerson2 person = new EcblPerson2();
person.setName("CacheL");