Browse code

Fix build

Nicolas Lascombes authored on 01/08/2019 15:40:33
Showing 1 changed files
... ...
@@ -31,7 +31,6 @@ import org.joda.time.DateTimeZone;
31 31
 import org.junit.Test;
32 32
 
33 33
 import net.bluemind.calendar.api.CalendarsVEventQuery;
34
-import net.bluemind.calendar.api.ICalendar;
35 34
 import net.bluemind.calendar.api.ICalendars;
36 35
 import net.bluemind.calendar.api.Reminder;
37 36
 import net.bluemind.calendar.api.VEvent;
... ...
@@ -46,7 +45,6 @@ import net.bluemind.core.api.date.BmDateTimeWrapper;
46 45
 import net.bluemind.core.api.fault.ServerFault;
47 46
 import net.bluemind.core.container.model.ItemContainerValue;
48 47
 import net.bluemind.core.context.SecurityContext;
49
-import net.bluemind.core.rest.ServerSideServiceProvider;
50 48
 import net.bluemind.core.tests.BmTestContext;
51 49
 import net.bluemind.icalendar.api.ICalendarElement.VAlarm;
52 50
 
... ...
@@ -102,9 +100,6 @@ public class CalendarsServiceTests extends AbstractCalendarTests {
102 100
 
103 101
 		DateTime dtalarm = new DateTime(new BmDateTimeWrapper(event.main.dtstart).toUTCTimestamp() - 600 * 1000);
104 102
 
105
-		ICalendar cal = ServerSideServiceProvider.getProvider(userSecurityContext).instance(ICalendar.class, userCalendarContainer);
106
-		
107
-
108 103
 		List<Reminder> reminder = getCalendarsService(userSecurityContext).getReminder(time(dtalarm));
109 104
 		assertEquals(1, reminder.size());
110 105