[libgfbgraph] tests/gtestutils: Disable album test
- From: Leesoo Ahn <yisooan src gnome org>
- To: commits-list gnome org
- Cc: 
- Subject: [libgfbgraph] tests/gtestutils: Disable album test
- Date: Tue, 21 May 2019 04:44:40 +0000 (UTC)
commit c9e4c44d18a045817230599f92780bdf9d71c97d
Author: Leesoo Ahn <yisooan fedoraproject org>
Date:   Tue May 21 13:35:52 2019 +0900
    tests/gtestutils: Disable album test
    
    Creating a new album by edges is deprecated[1]. We can revert
    this commit later if we want to enable it again.
    
    [1]: https://developers.facebook.com/docs/graph-api/reference/v3.3/album#publish
 tests/gtestutils.c | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
---
diff --git a/tests/gtestutils.c b/tests/gtestutils.c
index 7fd8d78..fccf9f9 100644
--- a/tests/gtestutils.c
+++ b/tests/gtestutils.c
@@ -215,7 +215,7 @@ gfbgraph_test_me (GFBGraphTestFixture *fixture, G_GNUC_UNUSED gconstpointer user
         g_object_unref (me);
 }
 
-static void
+static G_GNUC_UNUSED void
 gfbgraph_test_album (GFBGraphTestFixture *fixture, G_GNUC_UNUSED gconstpointer user_data)
 {
         GFBGraphUser *me;
@@ -262,12 +262,14 @@ main (int argc, char **argv)
                     gfbgraph_test_me,
                     gfbgraph_test_fixture_teardown);
 
+#if 0
         g_test_add ("/GFBGraph/Album",
                     GFBGraphTestFixture,
                     app,
                     gfbgraph_test_fixture_setup,
                     gfbgraph_test_album,
                     gfbgraph_test_fixture_teardown);
+#endif
 
         test_result = g_test_run ();
 
[
Date Prev][
Date Next]   [
Thread Prev][
Thread Next]   
[
Thread Index]
[
Date Index]
[
Author Index]