summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/dbus/channel-dispatch-operation.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/dbus/channel-dispatch-operation.c b/tests/dbus/channel-dispatch-operation.c
index 734e23ac..02be514d 100644
--- a/tests/dbus/channel-dispatch-operation.c
+++ b/tests/dbus/channel-dispatch-operation.c
@@ -816,6 +816,8 @@ test_close_channels (Test *test,
"/whatever", NULL, &test->error);
g_assert_no_error (test->error);
+ tp_tests_proxy_run_until_prepared (test->cdo, NULL);
+
g_signal_connect (test->text_chan, "invalidated",
G_CALLBACK (channel_invalidated_cb), test);
g_signal_connect (test->text_chan_2, "invalidated",
@@ -853,6 +855,8 @@ test_leave_channels (Test *test,
"/whatever", NULL, &test->error);
g_assert_no_error (test->error);
+ tp_tests_proxy_run_until_prepared (test->cdo, NULL);
+
g_signal_connect (test->text_chan, "invalidated",
G_CALLBACK (channel_invalidated_cb), test);
g_signal_connect (test->text_chan_2, "invalidated",
@@ -891,6 +895,8 @@ test_destroy_channels (Test *test,
"/whatever", NULL, &test->error);
g_assert_no_error (test->error);
+ tp_tests_proxy_run_until_prepared (test->cdo, NULL);
+
g_signal_connect (test->text_chan, "invalidated",
G_CALLBACK (channel_invalidated_cb), test);
g_signal_connect (test->text_chan_2, "invalidated",