aboutsummaryrefslogtreecommitdiff
path: root/tests/test-service.cc
diff options
context:
space:
mode:
authorCharles Kerr <charles.kerr@canonical.com>2013-06-20 13:54:41 -0500
committerCharles Kerr <charles.kerr@canonical.com>2013-06-20 13:54:41 -0500
commitfab2853f35eb108988b5ddb16cd9f6e43de79773 (patch)
tree0f93467a9e494f9bdf10e9594021d15e2d45e60b /tests/test-service.cc
parentbb645114401d22af45b14294697e1e294cf52e34 (diff)
downloadayatana-indicator-session-fab2853f35eb108988b5ddb16cd9f6e43de79773.tar.gz
ayatana-indicator-session-fab2853f35eb108988b5ddb16cd9f6e43de79773.tar.bz2
ayatana-indicator-session-fab2853f35eb108988b5ddb16cd9f6e43de79773.zip
remove the --replace command-line argument and property as we're using upstart for that
Diffstat (limited to 'tests/test-service.cc')
-rw-r--r--tests/test-service.cc7
1 files changed, 1 insertions, 6 deletions
diff --git a/tests/test-service.cc b/tests/test-service.cc
index 76dcd75..57b4221 100644
--- a/tests/test-service.cc
+++ b/tests/test-service.cc
@@ -161,12 +161,7 @@ class ServiceTest: public GTestDBusFixture
// Start an IndicatorSessionService and wait for it to appear on the bus.
// This way our calls to g_dbus_*_get() in the next paragraph won't activate
// a second copy of the service...
- service = indicator_session_service_new (true);
-
- // confirm that the property got set
- gboolean replace = FALSE;
- g_object_get (service, "replace", &replace, NULL);
- ASSERT_TRUE (replace);
+ service = indicator_session_service_new ();
// wait for the service to show up on the bus
const guint watch_id = g_bus_watch_name_on_connection (conn,