summaryrefslogtreecommitdiff
path: root/tests/proxy-test.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/proxy-test.c')
-rw-r--r--tests/proxy-test.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/proxy-test.c b/tests/proxy-test.c
index ca947e42..938a23b0 100644
--- a/tests/proxy-test.c
+++ b/tests/proxy-test.c
@@ -324,9 +324,8 @@ do_proxy_auth_cache_test (void)
session = soup_test_session_new (SOUP_TYPE_SESSION,
"proxy-resolver", proxy_resolvers[AUTH_PROXY],
- "add-feature", cache,
NULL);
-
+ soup_session_add_feature (session, SOUP_SESSION_FEATURE (cache));
url = g_strconcat (HTTP_SERVER, "/Basic/realm1/", NULL);
debug_printf (1, " GET %s via %s (from network)\n", url, proxy_names[AUTH_PROXY]);