aboutsummaryrefslogtreecommitdiff
path: root/tests/test-eds-ics-tzids-2.cpp
diff options
context:
space:
mode:
authorRenato Araujo Oliveira Filho <renato.filho@canonical.com>2016-03-31 16:53:36 -0300
committerRobert Tari <robert@tari.in>2021-07-05 02:28:32 +0200
commit30b0ba7facf333209ea60db9f3b5820dc0f4d5f3 (patch)
treebf0e9bd431af493e44fa484229c654d0d71c0873 /tests/test-eds-ics-tzids-2.cpp
parent6df38ca1d68d1eb2fed2aca024ea938fb00d306c (diff)
downloadayatana-indicator-datetime-30b0ba7facf333209ea60db9f3b5820dc0f4d5f3.tar.gz
ayatana-indicator-datetime-30b0ba7facf333209ea60db9f3b5820dc0f4d5f3.tar.bz2
ayatana-indicator-datetime-30b0ba7facf333209ea60db9f3b5820dc0f4d5f3.zip
Update code as requested by reviewer.
Diffstat (limited to 'tests/test-eds-ics-tzids-2.cpp')
-rw-r--r--tests/test-eds-ics-tzids-2.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/test-eds-ics-tzids-2.cpp b/tests/test-eds-ics-tzids-2.cpp
index c8b0370..a1d2f5a 100644
--- a/tests/test-eds-ics-tzids-2.cpp
+++ b/tests/test-eds-ics-tzids-2.cpp
@@ -24,6 +24,7 @@
#include <datetime/alarm-queue-simple.h>
#include <datetime/clock-mock.h>
#include <datetime/engine-eds.h>
+#include <datetime/myself.h>
#include <datetime/planner-range.h>
#include <gtest/gtest.h>
@@ -43,7 +44,7 @@ using VAlarmFixture = GlibFixture;
TEST_F(VAlarmFixture, MultipleAppointments)
{
// start the EDS engine
- auto engine = std::make_shared<EdsEngine>();
+ auto engine = std::make_shared<EdsEngine>(std::make_shared<Myself>());
// we need a consistent timezone for the planner and our local DateTimes
constexpr char const * zone_str {"America/Los_Angeles"};