diff options
author | Patrick Griffis <pgriffis@igalia.com> | 2020-11-05 15:02:05 -0600 |
---|---|---|
committer | Patrick Griffis <pgriffis@igalia.com> | 2020-11-05 15:02:05 -0600 |
commit | d9bd561c341726d0128db191caba4dbacbe83c2c (patch) | |
tree | 34a4fc6a85fdfab52555929c45a6d13e0139c78c /tests/ntlm-test.c | |
parent | fa676791ba19c9584cf13f6acabb60a615e300b2 (diff) | |
download | libsoup-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/ntlm-test.c')
-rw-r--r-- | tests/ntlm-test.c | 10 |
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); |