From e5f71ea767515f50f5ed8c34946a87746a3d4ed7 Mon Sep 17 00:00:00 2001 From: Charles Kerr Date: Wed, 26 Feb 2014 03:46:01 -0600 Subject: use the timezones object to set the ECalComponent's default timezone. This is needed to properly handle the 'floating' dates in the alarms --- tests/test-planner.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'tests/test-planner.cpp') diff --git a/tests/test-planner.cpp b/tests/test-planner.cpp index 1923ba1..e5c11f9 100644 --- a/tests/test-planner.cpp +++ b/tests/test-planner.cpp @@ -24,6 +24,7 @@ #include #include #include +#include #include #include @@ -43,7 +44,8 @@ TEST_F(PlannerFixture, EDS) g_date_time_unref(tmp); std::shared_ptr clock(new MockClock(now)); - PlannerEds planner(clock); + std::shared_ptr timezones(new Timezones); + PlannerEds planner(clock, timezones); wait_msec(100); planner.time.set(now); -- cgit v1.2.3