From 19736989bf2de4c5007659958373445ab40b0956 Mon Sep 17 00:00:00 2001 From: Steve Brokenshire Date: Mon, 29 Feb 2016 15:07:51 +0000 Subject: [PATCH] Moved line for getting the connection details of CalDAVPlainStatus. --- source/tests/xestiacalendar_caldav.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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); -- 2.39.5