summaryrefslogtreecommitdiff
path: root/tests/misc-test.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/misc-test.c')
-rw-r--r--tests/misc-test.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/misc-test.c b/tests/misc-test.c
index 063fb703..2d06f0c8 100644
--- a/tests/misc-test.c
+++ b/tests/misc-test.c
@@ -676,9 +676,9 @@ main (int argc, char **argv)
auth_domain = soup_auth_domain_basic_new (
"realm", "misc-test",
- "add-path", "/auth",
"auth-callback", auth_callback,
NULL);
+ soup_auth_domain_add_path (auth_domain, "/auth");
soup_server_add_auth_domain (server, auth_domain);
g_object_unref (auth_domain);