summaryrefslogtreecommitdiff
path: root/gdata/tests/youtube.c
diff options
context:
space:
mode:
authorPhilip Withnall <philip@tecnocode.co.uk>2010-12-01 20:52:08 +0000
committerPhilip Withnall <philip@tecnocode.co.uk>2010-12-01 20:52:08 +0000
commita0944994877651f63fb7f9bcde76e9a7961d416c (patch)
tree65f3572901d6c5957ae82242960abbbda08d5e05 /gdata/tests/youtube.c
parent30ddfe1864085a1bdfe69a057065eaf977811771 (diff)
downloadlibgdata-a0944994877651f63fb7f9bcde76e9a7961d416c.tar.gz
Bug 634033 — Use standard login URI for YouTube
YouTube is switching over to using the same ClientLogin URI as all other GData services. This obsoletes GDataYouTubeService:youtube-user, which will disappear shortly. Closes: bgo#634033
Diffstat (limited to 'gdata/tests/youtube.c')
-rw-r--r--gdata/tests/youtube.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/gdata/tests/youtube.c b/gdata/tests/youtube.c
index d8082a15..c9e1f337 100644
--- a/gdata/tests/youtube.c
+++ b/gdata/tests/youtube.c
@@ -24,7 +24,6 @@
#include "common.h"
#define DEVELOPER_KEY "AI39si7Me3Q7zYs6hmkFvpRBD2nrkVjYYsUO5lh_3HdOkGRc9g6Z4nzxZatk_aAo2EsA21k7vrda0OO6oFg2rnhMedZXPyXoEw"
-#define YT_USERNAME "GDataTest"
static void
test_authentication (void)
@@ -51,7 +50,6 @@ test_authentication (void)
g_assert (gdata_service_is_authenticated (service) == TRUE);
g_assert_cmpstr (gdata_service_get_username (service), ==, USERNAME);
g_assert_cmpstr (gdata_service_get_password (service), ==, PASSWORD);
- g_assert_cmpstr (gdata_youtube_service_get_youtube_user (GDATA_YOUTUBE_SERVICE (service)), ==, YT_USERNAME);
g_object_unref (service);
}
@@ -73,7 +71,6 @@ test_authentication_async_cb (GDataService *service, GAsyncResult *async_result,
g_assert (gdata_service_is_authenticated (service) == TRUE);
g_assert_cmpstr (gdata_service_get_username (service), ==, USERNAME);
g_assert_cmpstr (gdata_service_get_password (service), ==, PASSWORD);
- g_assert_cmpstr (gdata_youtube_service_get_youtube_user (GDATA_YOUTUBE_SERVICE (service)), ==, YT_USERNAME);
}
static void