aboutsummaryrefslogtreecommitdiff
path: root/tests/test-eds-ics-tzids.cpp
diff options
context:
space:
mode:
authorRenato Araujo Oliveira Filho <renato.filho@canonical.com>2016-03-31 16:53:36 -0300
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2021-08-29 14:37:39 +0200
commit676b6c35768e707710a7121ed9f71002c6226bd7 (patch)
tree977ef722a17e907a2d79beb33f0581fe43dd16ae /tests/test-eds-ics-tzids.cpp
parentb13d57194646736652610fd68793aa8f2a260566 (diff)
downloadayatana-indicator-datetime-676b6c35768e707710a7121ed9f71002c6226bd7.tar.gz
ayatana-indicator-datetime-676b6c35768e707710a7121ed9f71002c6226bd7.tar.bz2
ayatana-indicator-datetime-676b6c35768e707710a7121ed9f71002c6226bd7.zip
Update code as requested by reviewer.
Diffstat (limited to 'tests/test-eds-ics-tzids.cpp')
-rw-r--r--tests/test-eds-ics-tzids.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/test-eds-ics-tzids.cpp b/tests/test-eds-ics-tzids.cpp
index c80feb2..11d44b7 100644
--- a/tests/test-eds-ics-tzids.cpp
+++ b/tests/test-eds-ics-tzids.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 {"Europe/Berlin"};