Fixed broken tests in previous commit related with CHILDREN advance behaviour.
FEA: ItEr74S07WBSTreeRefactoring
This commit is contained in:
parent
efd65cca4d
commit
b6737b22e3
1 changed files with 1 additions and 7 deletions
|
|
@ -46,7 +46,6 @@ import org.junit.Ignore;
|
|||
import org.junit.Test;
|
||||
import org.junit.runner.RunWith;
|
||||
import org.navalplanner.business.IDataBootstrap;
|
||||
import org.navalplanner.business.advance.bootstrap.PredefinedAdvancedTypes;
|
||||
import org.navalplanner.business.common.IAdHocTransactionService;
|
||||
import org.navalplanner.business.common.IOnTransaction;
|
||||
import org.navalplanner.business.common.daos.IConfigurationDAO;
|
||||
|
|
@ -332,12 +331,7 @@ public class OrderModelTest {
|
|||
for (OrderElement orderElement : elements) {
|
||||
assertThat(((OrderLineGroup) orderElement)
|
||||
.getIndirectAdvanceAssignments().size(),
|
||||
equalTo(1));
|
||||
assertThat(((OrderLineGroup) orderElement)
|
||||
.getIndirectAdvanceAssignments().iterator()
|
||||
.next().getAdvanceType(),
|
||||
equalTo(PredefinedAdvancedTypes.CHILDREN
|
||||
.getType()));
|
||||
equalTo(0));
|
||||
}
|
||||
for (int i = 0; i < containers.length; i++) {
|
||||
assertThat(elements.get(i).getId(),
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue