Corrections in calendars test
Now it must be specified the expiring date and the parent although these are empty FEA: ItEr75S05CalendarAdminInterfaceItEr74S06
This commit is contained in:
parent
7a1a2e59d4
commit
5bb38fe7eb
1 changed files with 3 additions and 2 deletions
|
|
@ -165,7 +165,7 @@ public class BaseCalendarModelTest {
|
|||
|
||||
@Override
|
||||
public void onExistentCalendar(BaseCalendar calendar) {
|
||||
baseCalendarModel.createNewVersion(date);
|
||||
baseCalendarModel.createNewVersion(date, null, null);
|
||||
setCapacity(baseCalendarModel.getBaseCalendar(), capacity);
|
||||
}
|
||||
}, new IOnExistentCalendar() {
|
||||
|
|
@ -212,7 +212,8 @@ public class BaseCalendarModelTest {
|
|||
setCapacity(baseCalendarModel.getBaseCalendar(),
|
||||
Capacity.create(hours(8)));
|
||||
BaseCalendar parent = baseCalendarModel.getBaseCalendar();
|
||||
baseCalendarModel.createNewVersion(new LocalDate().plusMonths(1));
|
||||
baseCalendarModel.createNewVersion(new LocalDate().plusMonths(1), null,
|
||||
null);
|
||||
BaseCalendar parentNewVersion = baseCalendarModel.getBaseCalendar();
|
||||
baseCalendarModel.confirmSave();
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue