From: Steve Brokenshire Date: Mon, 29 Feb 2016 15:07:51 +0000 (+0000) Subject: Moved line for getting the connection details of CalDAVPlainStatus. X-Git-Tag: release-0.02~327 X-Git-Url: http://Server1/repobrowser/?a=commitdiff_plain;h=19736989bf2de4c5007659958373445ab40b0956;p=xestiacalendar%2F.git Moved line for getting the connection details of CalDAVPlainStatus. --- diff --git a/source/tests/xestiacalendar_caldav.h b/source/tests/xestiacalendar_caldav.h index e8932b8..f3a7c3e 100644 --- a/source/tests/xestiacalendar_caldav.h +++ b/source/tests/xestiacalendar_caldav.h @@ -135,11 +135,11 @@ TEST(CalDAV, BasicTests){ CalDAV CalDAVPlain; CalDAVPlain.SetupConnectionData(&ConnPlain); - CalDAVStatus CalDAVPlainStatus = CalDAVPlain.GetConnectionData(); - // Verify that the settings match with the CalDAVConnectionData // passed. + CalDAVStatus CalDAVPlainStatus = CalDAVPlain.GetConnectionData(); + ASSERT_EQ(CalDAVPlainStatus.Hostname, ConnPlain.Hostname); ASSERT_EQ(CalDAVPlainStatus.Username, ConnPlain.Username); ASSERT_EQ(CalDAVPlainStatus.Port, ConnPlain.Port);