aboutsummaryrefslogtreecommitdiff
path: root/tests/backend-dbus/test-actions.cc
diff options
context:
space:
mode:
authorCharles Kerr <charles.kerr@canonical.com>2013-06-28 10:31:51 -0500
committerCharles Kerr <charles.kerr@canonical.com>2013-06-28 10:31:51 -0500
commit4850b1b6ba8a1438d8c0903592108fcefc35235e (patch)
treeb92139b05b7e25b5242b4ee842f8e39d6702e909 /tests/backend-dbus/test-actions.cc
parent69bf3537b0fe5aa00d015c7339ce20e9c2b80d1f (diff)
downloadayatana-indicator-session-4850b1b6ba8a1438d8c0903592108fcefc35235e.tar.gz
ayatana-indicator-session-4850b1b6ba8a1438d8c0903592108fcefc35235e.tar.bz2
ayatana-indicator-session-4850b1b6ba8a1438d8c0903592108fcefc35235e.zip
update comments & documentation to reflect that we've replaced consolekit and login1
Diffstat (limited to 'tests/backend-dbus/test-actions.cc')
-rw-r--r--tests/backend-dbus/test-actions.cc5
1 files changed, 1 insertions, 4 deletions
diff --git a/tests/backend-dbus/test-actions.cc b/tests/backend-dbus/test-actions.cc
index 410a02a..20e2521 100644
--- a/tests/backend-dbus/test-actions.cc
+++ b/tests/backend-dbus/test-actions.cc
@@ -319,12 +319,9 @@ TEST_F (Actions, SwitchToGuest)
{
// allow guests
dm_seat->set_guest_allowed (true);
- MockUser * guest_user;
- //int guest_session_tag;
-// MockConsoleKitSession * guest_ck_session;
// set up a guest
- guest_user = new MockUser (loop, conn, "guest-zzbEVV", "Guest", 10);
+ MockUser * guest_user = new MockUser (loop, conn, "guest-zzbEVV", "Guest", 10);
guest_user->set_system_account (true);
accounts->add_user (guest_user);
int guest_session_tag = login1_manager->add_session (login1_seat, guest_user);