aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorAndrea Azzarone <azzaronea@gmail.com>2018-03-26 21:01:09 +0000
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2018-03-26 21:01:09 +0000
commit25371d2fdacba11aeed389fb880baf6fc7524670 (patch)
tree2e7287d0a7a6f499e813dc4e77ff5abd2cf0d4b9 /tests
parentf308f59f89e8b433e717a5789d905e5eebaaf03f (diff)
downloadayatana-indicator-datetime-25371d2fdacba11aeed389fb880baf6fc7524670.tar.gz
ayatana-indicator-datetime-25371d2fdacba11aeed389fb880baf6fc7524670.tar.bz2
ayatana-indicator-datetime-25371d2fdacba11aeed389fb880baf6fc7524670.zip
As we removed a day we need to edit the test too.
Diffstat (limited to 'tests')
-rw-r--r--tests/test-eds-ics-missing-trigger.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/test-eds-ics-missing-trigger.cpp b/tests/test-eds-ics-missing-trigger.cpp
index 5a65099..6119481 100644
--- a/tests/test-eds-ics-missing-trigger.cpp
+++ b/tests/test-eds-ics-missing-trigger.cpp
@@ -86,7 +86,7 @@ TEST_F(VAlarmFixture, MissingTriggers)
a.uid = "20150617T211913Z-6217-32011-2036-5@ubuntu-phablet";
a.summary = "Recurring Alarm";
a.alarms[0].text = a.summary;
- std::array<DateTime,14> recurrences {
+ std::array<DateTime,13> recurrences {
DateTime{ gtz, 2015, 6, 18, 10, 1, 0 },
DateTime{ gtz, 2015, 6, 19, 10, 1, 0 },
DateTime{ gtz, 2015, 6, 20, 10, 1, 0 },
@@ -100,7 +100,6 @@ TEST_F(VAlarmFixture, MissingTriggers)
DateTime{ gtz, 2015, 6, 28, 10, 1, 0 },
DateTime{ gtz, 2015, 6, 29, 10, 1, 0 },
DateTime{ gtz, 2015, 6, 30, 10, 1, 0 },
- DateTime{ gtz, 2015, 7, 1, 10, 1, 0 }
};
for (const auto& time : recurrences) {
a.begin = a.end = a.alarms[0].time = time;