ItEr40S22CUProcuraOrganizacionsTraballoItEr32S10: Fixed failing tests due to new restriction in hours group codes.

This commit is contained in:
Manuel Rego Casasnovas 2009-12-26 14:38:34 +01:00 committed by Javier Moran Rua
parent 25dc0a9853
commit b4b88d055c

View file

@ -33,6 +33,7 @@ import java.util.Iterator;
import java.util.List;
import java.util.Set;
import java.util.SortedSet;
import java.util.UUID;
import javax.annotation.Resource;
@ -92,6 +93,8 @@ public class OrderElementTest {
.createOrderLineWithUnfixedPercentage(hours);
orderLine.setName(name);
orderLine.setCode(code);
orderLine.getHoursGroups().get(0).setCode(
"hours-group-" + UUID.randomUUID());
return orderLine;
}