diff options
author | Robert Tari <robert@tari.in> | 2021-09-02 20:05:04 +0200 |
---|---|---|
committer | Robert Tari <robert@tari.in> | 2021-09-02 20:05:04 +0200 |
commit | 941de24ca680e6844d874dc49288dd05340a6b60 (patch) | |
tree | 6085a76de8f3c22341872feef28537df9d083684 /tests | |
parent | 2748fa58a285684b2c51aee1db543f585d57abd0 (diff) | |
parent | 458218b1920bd92638d324a239dfc486013c0ddc (diff) | |
download | ayatana-indicator-datetime-941de24ca680e6844d874dc49288dd05340a6b60.tar.gz ayatana-indicator-datetime-941de24ca680e6844d874dc49288dd05340a6b60.tar.bz2 ayatana-indicator-datetime-941de24ca680e6844d874dc49288dd05340a6b60.zip |
Merge branch 'pr/fix-unit-tests'
Attributes GH PR #53: https://github.com/AyatanaIndicators/ayatana-indicator-datetime/pull/53
Diffstat (limited to 'tests')
-rw-r--r-- | tests/notification-fixture.h | 4 | ||||
-rwxr-xr-x | tests/run-eds-ics-test.sh | 2 | ||||
-rw-r--r-- | tests/test-eds-ics-non-selected-source.ics.in | 2 |
3 files changed, 4 insertions, 4 deletions
diff --git a/tests/notification-fixture.h b/tests/notification-fixture.h index 23329aa..301c53c 100644 --- a/tests/notification-fixture.h +++ b/tests/notification-fixture.h @@ -78,7 +78,7 @@ protected: static constexpr char const * HINT_TIMEOUT {"x-canonical-snap-decisions-timeout"}; static constexpr char const * AS_BUSNAME {"org.freedesktop.Accounts"}; - static constexpr char const * AS_INTERFACE {"com.lomiri.touch.AccountsService.Sound"}; + static constexpr char const * AS_INTERFACE {"com.ubuntu.touch.AccountsService.Sound"}; static constexpr char const * PROP_OTHER_VIBRATIONS {"OtherVibrate"}; static constexpr char const * PROP_SILENT_MODE {"SilentMode"}; @@ -112,7 +112,7 @@ protected: appt.end = christmas.end_of_day(); appt.alarms.push_back(ayatana::indicator::datetime::Alarm{"Ho Ho Ho!", CALENDAR_DEFAULT_SOUND, appt.begin}); - // init a Lomiri Alarm + // init an Ubuntu Alarm ualarm.color = "red"; ualarm.summary = "Wakeup"; ualarm.uid = "E4B57D50247291478ED31DED17FF0A9838DED403"; diff --git a/tests/run-eds-ics-test.sh b/tests/run-eds-ics-test.sh index 7db9f1b..f21307c 100755 --- a/tests/run-eds-ics-test.sh +++ b/tests/run-eds-ics-test.sh @@ -69,5 +69,5 @@ rv=$? # if the test passed, blow away the tmpdir if [ $rv -eq 0 ]; then - rm -rf $TEST_TMP_DIR + rm -rfd $TEST_TMP_DIR fi diff --git a/tests/test-eds-ics-non-selected-source.ics.in b/tests/test-eds-ics-non-selected-source.ics.in index 19f93d7..f7b028b 100644 --- a/tests/test-eds-ics-non-selected-source.ics.in +++ b/tests/test-eds-ics-non-selected-source.ics.in @@ -9,7 +9,7 @@ DTSTAMP:20150508T211449Z DTSTART:20150508T164000 RRULE:FREQ=WEEKLY;BYDAY=FR SUMMARY:Alarm -CATEGORIES:x-lomiri-alarm +CATEGORIES:x-canonical-alarm CREATED:20150507T211449Z LAST-MODIFIED:20150507T211449Z BEGIN:VALARM |