summaryrefslogtreecommitdiff
path: root/tests/proxy-test.c
diff options
context:
space:
mode:
authorPatrick Griffis <pgriffis@igalia.com>2020-11-05 15:02:05 -0600
committerPatrick Griffis <pgriffis@igalia.com>2020-11-05 15:02:05 -0600
commitd9bd561c341726d0128db191caba4dbacbe83c2c (patch)
tree34a4fc6a85fdfab52555929c45a6d13e0139c78c /tests/proxy-test.c
parentfa676791ba19c9584cf13f6acabb60a615e300b2 (diff)
downloadlibsoup-d9bd561c341726d0128db191caba4dbacbe83c2c.tar.gz
Remove properties that behave as functionspgriffis/remove-property-functions
This goes against all convention and isn't binding friendly.
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]);