summaryrefslogtreecommitdiff
path: root/gdata/tests/youtube.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdata/tests/youtube.c')
-rw-r--r--gdata/tests/youtube.c9
1 files changed, 1 insertions, 8 deletions
diff --git a/gdata/tests/youtube.c b/gdata/tests/youtube.c
index 2b7ec65c..5fefbaf8 100644
--- a/gdata/tests/youtube.c
+++ b/gdata/tests/youtube.c
@@ -2355,14 +2355,7 @@ create_global_authorizer (void)
g_assert (authentication_uri != NULL);
/* Get the authorisation code off the user. */
- if (uhm_server_get_enable_online (mock_server)) {
- authorisation_code = gdata_test_query_user_for_verifier (authentication_uri);
- } else {
- /* Hard coded, extracted from the trace file. */
- authorisation_code = g_strdup ("4/bfJsBrDEyOMNyswDmC4nL45mtuS1E"
- "P9cy3-_5AijFA4.gsGq_HYYdZcRoiIB"
- "eO6P2m_QwbIXmgI");
- }
+ authorisation_code = gdata_test_query_user_for_verifier (authentication_uri);
g_free (authentication_uri);