From cc4821ae3e9f191da75ccee1913c87c1bd49b9a3 Mon Sep 17 00:00:00 2001 From: Charles Kerr Date: Fri, 29 Jan 2016 09:49:40 -0600 Subject: sync unit tests with calendar, locations being visible in phone profile --- tests/test-menus.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tests/test-menus.cpp') diff --git a/tests/test-menus.cpp b/tests/test-menus.cpp index c1dbb2d..dd19487 100644 --- a/tests/test-menus.cpp +++ b/tests/test-menus.cpp @@ -102,7 +102,7 @@ protected: else expected_action = nullptr; - const auto calendar_expected = ((profile == Menu::Desktop) || (profile == Menu::DesktopGreeter)) + const auto calendar_expected = ((profile == Menu::Desktop) || (profile == Menu::DesktopGreeter) || (profile == Menu::Phone)) && (m_state->settings->show_calendar.get()); // get the calendar section @@ -420,7 +420,7 @@ protected: void InspectLocations(GMenuModel* menu_model, Menu::Profile profile) { - const bool locations_expected = profile == Menu::Desktop; + const bool locations_expected = (profile == Menu::Desktop) || (profile == Menu::Phone); // when there aren't any locations, confirm the menu is empty const std::vector empty; -- cgit v1.2.3