summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLeesoo Ahn <yisooan@fedoraproject.org>2019-05-21 13:35:52 +0900
committerLeesoo Ahn <yisooan@fedoraproject.org>2019-05-21 13:41:33 +0900
commitc9e4c44d18a045817230599f92780bdf9d71c97d (patch)
treee74d5ff2e934d84e1a3cc3c194a9968f144c9249
parent76fec04362bd7ddaf4e77aeb2571dbaaaa9ddd40 (diff)
downloadlibgfbgraph-c9e4c44d18a045817230599f92780bdf9d71c97d.tar.gz
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
-rw-r--r--tests/gtestutils.c4
1 files changed, 3 insertions, 1 deletions
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 ();