Bug #1447: Remove the test checking the creation of NOT_LATER_THAN constraint when a deadline is set.
FEA: ItEr76S04BugFixing
This commit is contained in:
parent
f698ddd890
commit
ff40beddbd
1 changed files with 0 additions and 12 deletions
|
|
@ -236,18 +236,6 @@ public class TaskElementTest {
|
|||
order.add(orderElement);
|
||||
}
|
||||
|
||||
@Test
|
||||
public void ifTheOrderLineHasDeadlineThePositionConstraintIsNotLaterThan() {
|
||||
OrderLine orderLine = OrderLine.create();
|
||||
addOrderTo(orderLine);
|
||||
LocalDate deadline = new LocalDate(2007, 4, 4);
|
||||
orderLine.setDeadline(asDate(deadline));
|
||||
TaskSource taskSource = asTaskSource(orderLine);
|
||||
Task task = Task.createTask(taskSource);
|
||||
assertThat(task.getPositionConstraint(),
|
||||
isOfType(PositionConstraintType.FINISH_NOT_LATER_THAN));
|
||||
}
|
||||
|
||||
@Test
|
||||
@SuppressWarnings("unchecked")
|
||||
public void ifSomeParentHasInitDateThePositionConstraintIsNotEarlierThan() {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue