summaryrefslogtreecommitdiff
path: root/tests/no-ssl-test.c
diff options
context:
space:
mode:
authorCarlos Garcia Campos <cgarcia@igalia.com>2020-09-18 14:07:45 +0200
committerCarlos Garcia Campos <cgarcia@igalia.com>2020-09-30 07:17:27 +0200
commitc61e2615f4fcfaed134cd9a2cd11ab2572b26551 (patch)
treeb748933051c3b123a2533050b6759f4967c7b314 /tests/no-ssl-test.c
parentd1987bd1d2f72da183d0ca0985f40178466e3dfb (diff)
downloadlibsoup-c61e2615f4fcfaed134cd9a2cd11ab2572b26551.tar.gz
tests: stop using soup_session_send_message in tests
Except for a few tests that seem to be testing the old API that we will remove once the old api is gone.
Diffstat (limited to 'tests/no-ssl-test.c')
-rw-r--r--tests/no-ssl-test.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/no-ssl-test.c b/tests/no-ssl-test.c
index 92253a9c..b92dd2c2 100644
--- a/tests/no-ssl-test.c
+++ b/tests/no-ssl-test.c
@@ -11,7 +11,7 @@ do_ssl_test_for_session (SoupSession *session, SoupURI *uri)
gboolean is_https;
msg = soup_message_new_from_uri ("GET", uri);
- soup_session_send_message (session, msg);
+ soup_test_session_send_message (session, msg);
soup_test_assert_message_status (msg, SOUP_STATUS_SSL_FAILED);
is_https = soup_message_get_https_status (msg, &cert, &flags);