aboutsummaryrefslogtreecommitdiff
path: root/tests/backend-dbus
diff options
context:
space:
mode:
authorRobert Tari <robert@tari.in>2021-11-03 02:58:43 +0100
committerRobert Tari <robert@tari.in>2021-11-03 02:58:43 +0100
commit838e2ff71472e0ae70ea0f62a614472f434bd2df (patch)
tree3512795b09ce9fb2833ab53efbf35d8c6c113d6d /tests/backend-dbus
parent3834947c6828ec4bcea7d941b1c28a8b9318f829 (diff)
downloadayatana-indicator-session-838e2ff71472e0ae70ea0f62a614472f434bd2df.tar.gz
ayatana-indicator-session-838e2ff71472e0ae70ea0f62a614472f434bd2df.tar.bz2
ayatana-indicator-session-838e2ff71472e0ae70ea0f62a614472f434bd2df.zip
Use Ayatana as mock user
Diffstat (limited to 'tests/backend-dbus')
-rw-r--r--tests/backend-dbus/test-users.cc4
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/backend-dbus/test-users.cc b/tests/backend-dbus/test-users.cc
index dccacbb..2a2a354 100644
--- a/tests/backend-dbus/test-users.cc
+++ b/tests/backend-dbus/test-users.cc
@@ -1,8 +1,10 @@
/*
* Copyright 2013 Canonical Ltd.
+ * Copyright 2021 Robert Tari
*
* Authors:
* Charles Kerr <charles.kerr@canonical.com>
+ * Robert Tari <robert@tari.in>
*
* This program is free software: you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 3, as published
@@ -366,7 +368,7 @@ TEST_F (Users, LiveSession)
ASSERT_FALSE (b);
// now add the criteria for a live session
- MockUser * live_user = new MockUser (loop, conn, "ubuntu", "Ubuntu", 1, 999);
+ MockUser * live_user = new MockUser (loop, conn, "ayatana", "Ayatana", 1, 999);
live_user->set_system_account (true);
accounts->add_user (live_user);
const int session_tag = login1_manager->add_session (login1_seat, live_user);