summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon McVittie <simon.mcvittie@collabora.co.uk>2008-02-04 16:08:27 +0000
committerSimon McVittie <simon.mcvittie@collabora.co.uk>2008-02-04 16:08:27 +0000
commite4d1b733bec004b7f266bb9bb20219f1554d0265 (patch)
tree147f938378e78a058fd813f8338f085d470e0857
parent0225301e1b022ecee3867ebf51e6e15cbde2654b (diff)
Fix test-handle-set so it actually tests tp-glib's API, not Gabble's old APItelepathy-glib_0.7.1telepathy-glib-0.7.1
-rw-r--r--tests/test-handle-set.c8
1 files 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 */