aboutsummaryrefslogtreecommitdiff
path: root/tests/test-menus.cc
diff options
context:
space:
mode:
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);