Remove the duplicate TestSoftDeleteBasic.testFindSoftDeletedList()

Hmmm, my bad. I merged the branch manually and that didn't remove the PR so I've merged this twice now and hence ended up with a duplicate method. All good, just removing this duplicate method.
This commit is contained in:
rob bygrave
2020-07-14 09:47:07 +12:00
parent a231c136a9
commit dbc97aa28c
@@ -247,26 +247,6 @@ public class TestSoftDeleteBasic extends BaseTestCase {
DB.deleteAllPermanent(singletonList(bean));
}
@Test
public void testFindSoftDeletedList() {
EBasicSoftDelete bean = new EBasicSoftDelete();
bean.setName("softDelFetch");
DB.save(bean);
EBasicSDChild bean2 = new EBasicSDChild(bean, "softDelFetchus", 1L);
DB.save(bean2);
DB.delete(bean2);
EBasicSDChild child = DB
.find(EBasicSDChild.class)
.setIncludeSoftDeletes()
.where()
.idEq(bean.getId())
.findOne();
assertThat(child).isNotNull();
assertThat(child.getOwner().getChildren().size()).isEqualTo(1);
}
@Test
public void testDeleteById_and_findCount() {