summaryrefslogtreecommitdiff
path: root/tests/session-test.c
diff options
context:
space:
mode:
authorCarlos Garcia Campos <cgarcia@igalia.com>2020-10-19 13:26:15 +0200
committerCarlos Garcia Campos <cgarcia@igalia.com>2020-10-19 14:24:49 +0200
commitd32453cd746839a4acaa00b7ac9eeffe45813d99 (patch)
tree750886053a624ae34038c33ca333f01dfe6c6556 /tests/session-test.c
parent2ff57ab860c8730d025d3e5d257d3faaf874e3b6 (diff)
downloadlibsoup-carlosgc/simple-api.tar.gz
Remove SoupRequest APIcarlosgc/simple-api
Diffstat (limited to 'tests/session-test.c')
-rw-r--r--tests/session-test.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/tests/session-test.c b/tests/session-test.c
index 1417c62e..fac0d5b9 100644
--- a/tests/session-test.c
+++ b/tests/session-test.c
@@ -364,15 +364,6 @@ do_features_test (void)
g_assert_null (soup_session_get_feature (session, SOUP_TYPE_AUTH_MANAGER));
g_slist_free (features);
- /* HTTP, File and Data requests are always added */
- g_assert_true (soup_session_has_feature (session, SOUP_TYPE_REQUEST_HTTP));
- g_assert_true (soup_session_has_feature (session, SOUP_TYPE_REQUEST_FILE));
- g_assert_true (soup_session_has_feature (session, SOUP_TYPE_REQUEST_DATA));
- soup_session_remove_feature_by_type (session, SOUP_TYPE_REQUEST_FILE);
- g_assert_false (soup_session_has_feature (session, SOUP_TYPE_REQUEST_FILE));
- g_assert_true (soup_session_has_feature (session, SOUP_TYPE_REQUEST_HTTP));
- g_assert_true (soup_session_has_feature (session, SOUP_TYPE_REQUEST_DATA));
-
soup_test_session_abort_unref (session);
}