aboutsummaryrefslogtreecommitdiff
path: root/tests/test-menus.cc
diff options
context:
space:
mode:
authorCharles Kerr <charles.kerr@canonical.com>2014-01-21 23:29:19 -0600
committerCharles Kerr <charles.kerr@canonical.com>2014-01-21 23:29:19 -0600
commit74f8897902c99180e721d616614a9962c819d90b (patch)
treeb38892e2f0d82688d505fdb5e73a3da31588d316 /tests/test-menus.cc
parent8910c3c25d9c3c77aaa987fdc366cd77f63d376c (diff)
downloadayatana-indicator-datetime-74f8897902c99180e721d616614a9962c819d90b.tar.gz
ayatana-indicator-datetime-74f8897902c99180e721d616614a9962c819d90b.tar.bz2
ayatana-indicator-datetime-74f8897902c99180e721d616614a9962c819d90b.zip
add LiveActions implementation and unit tests
Diffstat (limited to 'tests/test-menus.cc')
-rw-r--r--tests/test-menus.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test-menus.cc b/tests/test-menus.cc
index 0f86b0d..95ac5c2 100644
--- a/tests/test-menus.cc
+++ b/tests/test-menus.cc
@@ -148,7 +148,7 @@ protected:
auto gdt_tomorrow = g_date_time_add_days(now.get(), 1);
auto tomorrow = DateTime(gdt_tomorrow);
g_date_time_unref(gdt_tomorrow);
- m_clock->set_localtime(tomorrow);
+ m_mock_state->mock_clock->set_localtime(tomorrow);
wait_msec();
section = g_menu_model_get_item_link(submenu, Menu::Calendar, G_MENU_LINK_SECTION);