From: Steve Brokenshire Date: Sun, 24 Apr 2016 19:24:37 +0000 (+0100) Subject: Don't add a calendar when trying to delete a calendar in unit testing X-Git-Tag: release-0.02~285 X-Git-Url: http://Server1/repobrowser/?a=commitdiff_plain;h=e5ba41e02b0bfffed3f8d087f7a49e5fa617005f;p=xestiacalendar%2F.git Don't add a calendar when trying to delete a calendar in unit testing --- diff --git a/source/tests/xestiacalendar_caldav.h b/source/tests/xestiacalendar_caldav.h index 0ecf485..8ce08dd 100644 --- a/source/tests/xestiacalendar_caldav.h +++ b/source/tests/xestiacalendar_caldav.h @@ -761,14 +761,6 @@ TEST(CalDAV, DeleteCalendar){ ASSERT_EQ(CURLE_OK, ConnResult.Code); ASSERT_EQ(true, ConnSupport.BasicSupport); - // Add a calendar to the server. - - ConnResult = ServerConnection.AddCalendar("Calendar To Edit"); - - EXPECT_EQ(CALDAVQUERYRESULT_OK, ConnResult.Result); - ASSERT_EQ(201, ConnResult.HTTPCode); - ASSERT_EQ(CURLE_OK, ConnResult.Code); - // Get the list of calendars. CalDAVCalendarList CalendarList = ServerConnection.GetCalendars();