From 16b0ab32fe1b849523931ed33dbdd7ce0f9bac3f Mon Sep 17 00:00:00 2001 From: Charles Kerr Date: Sun, 9 Mar 2014 12:48:18 -0500 Subject: sync unit tests --- tests/test-planner.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'tests/test-planner.cpp') diff --git a/tests/test-planner.cpp b/tests/test-planner.cpp index e5c11f9..6f602f4 100644 --- a/tests/test-planner.cpp +++ b/tests/test-planner.cpp @@ -18,13 +18,13 @@ */ #include "glib-fixture.h" +#include "timezone-mock.h" #include #include #include #include #include -#include #include #include @@ -44,8 +44,8 @@ TEST_F(PlannerFixture, EDS) g_date_time_unref(tmp); std::shared_ptr clock(new MockClock(now)); - std::shared_ptr timezones(new Timezones); - PlannerEds planner(clock, timezones); + std::shared_ptr tz(new MockTimezone); + PlannerEds planner(clock, tz); wait_msec(100); planner.time.set(now); -- cgit v1.2.3