summaryrefslogtreecommitdiff
path: root/tests/ntlm-test.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ntlm-test.c')
-rw-r--r--tests/ntlm-test.c10
1 files changed, 4 insertions, 6 deletions
diff --git a/tests/ntlm-test.c b/tests/ntlm-test.c
index aca219eb..bf6a2319 100644
--- a/tests/ntlm-test.c
+++ b/tests/ntlm-test.c
@@ -672,9 +672,8 @@ do_retrying_test (TestServer *ts,
debug_printf (1, " /alice\n");
- session = soup_test_session_new (SOUP_TYPE_SESSION,
- "add-feature-by-type", SOUP_TYPE_AUTH_NTLM,
- NULL);
+ session = soup_test_session_new (SOUP_TYPE_SESSION, NULL);
+ soup_session_add_feature_by_type (session, SOUP_TYPE_AUTH_NTLM);
uri = soup_uri_new_with_base (ts->uri, "/alice");
msg = soup_message_new_from_uri ("GET", uri);
@@ -694,9 +693,8 @@ do_retrying_test (TestServer *ts,
debug_printf (1, " /bob\n");
- session = soup_test_session_new (SOUP_TYPE_SESSION,
- "add-feature-by-type", SOUP_TYPE_AUTH_NTLM,
- NULL);
+ session = soup_test_session_new (SOUP_TYPE_SESSION, NULL);
+ soup_session_add_feature_by_type (session, SOUP_TYPE_AUTH_NTLM);
retried = FALSE;
uri = soup_uri_new_with_base (ts->uri, "/bob");
msg = soup_message_new_from_uri ("GET", uri);