From e5ba41e02b0bfffed3f8d087f7a49e5fa617005f Mon Sep 17 00:00:00 2001 From: Steve Brokenshire Date: Sun, 24 Apr 2016 20:24:37 +0100 Subject: [PATCH] Don't add a calendar when trying to delete a calendar in unit testing --- source/tests/xestiacalendar_caldav.h | 8 -------- 1 file changed, 8 deletions(-) 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(); -- 2.39.2