[libgdata/offline-testing] tests: Update upload limit on PicasaWeb tests



commit 36bc6fcb0d63180fbc7bff72ebbad0af351109df
Author: Philip Withnall <philip tecnocode co uk>
Date:   Sun Jul 28 14:22:09 2013 +0200

    tests: Update upload limit on PicasaWeb tests
    
    Looks like quotas have been increased from 1GiB to 15GiB!

 gdata/tests/picasaweb.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/gdata/tests/picasaweb.c b/gdata/tests/picasaweb.c
index a206b91..3ce1cc0 100644
--- a/gdata/tests/picasaweb.c
+++ b/gdata/tests/picasaweb.c
@@ -1167,8 +1167,8 @@ check_authenticated_user_details (GDataPicasaWebUser *user)
 
        g_assert_cmpstr (gdata_picasaweb_user_get_user (user), ==, "libgdata.picasaweb");
        g_assert_cmpstr (gdata_picasaweb_user_get_nickname (user), ==, "libgdata.picasaweb");
-       /* 1GiB: it'll be a beautiful day when this assert gets tripped */
-       g_assert_cmpint (gdata_picasaweb_user_get_quota_limit (user), ==, 1073741824);
+       /* 15GiB: it'll be a beautiful day when this assert gets tripped */
+       g_assert_cmpint (gdata_picasaweb_user_get_quota_limit (user), ==, 16106127360);
        g_assert_cmpint (gdata_picasaweb_user_get_quota_current (user), >=, 0);
        /* now it's 1000, testing this weakly to avoid having to regularly update it */
        g_assert_cmpint (gdata_picasaweb_user_get_max_photos_per_album (user), >, 0);


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]