From e4d1b733bec004b7f266bb9bb20219f1554d0265 Mon Sep 17 00:00:00 2001 From: Simon McVittie Date: Mon, 4 Feb 2008 16:08:27 +0000 Subject: Fix test-handle-set so it actually tests tp-glib's API, not Gabble's old API 20080204160827-53eee-041878d2b9a92959fceee043f843e8cac6f7a223.gz --- tests/test-handle-set.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tests/test-handle-set.c b/tests/test-handle-set.c index 39c5626aa..ad9f24b44 100644 --- a/tests/test-handle-set.c +++ b/tests/test-handle-set.c @@ -26,10 +26,10 @@ int main (int argc, char **argv) set = tp_handle_set_new (repo); g_assert (set != NULL); - h1 = tp_handle_request (repo, "h1@foo", TRUE); - h2 = tp_handle_request (repo, "h2@foo", TRUE); - h3 = tp_handle_request (repo, "h3@foo", TRUE); - h4 = tp_handle_request (repo, "h4@foo", TRUE); + h1 = tp_handle_ensure (repo, "h1@foo", NULL, NULL); + h2 = tp_handle_ensure (repo, "h2@foo", NULL, NULL); + h3 = tp_handle_ensure (repo, "h3@foo", NULL, NULL); + h4 = tp_handle_ensure (repo, "h4@foo", NULL, NULL); g_assert (h1 && h2 && h3 && h4); /* Add one handle, check that it's in, check the size */ -- cgit v1.2.3