summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorDavid Zeuthen <zeuthen@gmail.com>2012-06-06 14:32:26 -0400
committerDavid Zeuthen <zeuthen@gmail.com>2012-06-06 14:32:26 -0400
commit3d007cbc5d4a1560cdcca08b5ca0401371fc7b77 (patch)
treee28c5dd7ee568b33f4bc1211d36c8a563637ad3d /test
parent14121fda7e4fa9463c66ce419cc32be7e7f3b535 (diff)
downloadpolkit-3d007cbc5d4a1560cdcca08b5ca0401371fc7b77.tar.gz
Make it work when using ConsoleKit instead of libsystemd-login
... although it would be nicer to just rip out the CK bits and simply hard-require libsystemd-login instead - it should work just fine on non-systemd systems, same way systemd-udev works fine there. Signed-off-by: David Zeuthen <zeuthen@gmail.com>
Diffstat (limited to 'test')
-rw-r--r--test/polkitbackend/test-polkitbackendjsauthority.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/polkitbackend/test-polkitbackendjsauthority.c b/test/polkitbackend/test-polkitbackendjsauthority.c
index 0a5d0e8..c7160f3 100644
--- a/test/polkitbackend/test-polkitbackendjsauthority.c
+++ b/test/polkitbackend/test-polkitbackendjsauthority.c
@@ -85,6 +85,8 @@ test_get_admin_identities_for_action_id (const gchar *action_id,
caller,
subject,
user_for_subject,
+ TRUE, /* is_local */
+ TRUE, /* is_active */
action_id,
details);
for (l = admin_identities, n = 0; l != NULL; l = l->next, n++)