summaryrefslogtreecommitdiff
path: root/tests/test-utils.h
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test-utils.h')
-rw-r--r--tests/test-utils.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/test-utils.h b/tests/test-utils.h
index 43ef5a75..0bc065fc 100644
--- a/tests/test-utils.h
+++ b/tests/test-utils.h
@@ -52,6 +52,11 @@ typedef enum {
SOUP_TEST_REQUEST_CANCEL_AFTER_SEND_FINISH = (1 << 5),
} SoupTestRequestFlags;
+#undef SOUP_TYPE_SESSION_ASYNC
+#define SOUP_TYPE_SESSION_ASYNC (_soup_session_async_get_type_undeprecated ())
+#undef SOUP_TYPE_SESSION_SYNC
+#define SOUP_TYPE_SESSION_SYNC (_soup_session_sync_get_type_undeprecated ())
+
SoupSession *soup_test_session_new (GType type, ...);
void soup_test_session_abort_unref (SoupSession *session);