From: Jussi Laako Date: Thu, 7 Mar 2013 16:16:16 +0000 (+0200) Subject: - Fix tests X-Git-Tag: upstream/2.4.0^2~114 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=43f9326805f5303f3b4595a8e393f0e0b28ac0ef;p=platform%2Fupstream%2Flibgsignon-glib.git - Fix tests - Don't emit local status updates --- diff --git a/libsignon-glib/signon-auth-session.c b/libsignon-glib/signon-auth-session.c index 992efa8..452e248 100644 --- a/libsignon-glib/signon-auth-session.c +++ b/libsignon-glib/signon-auth-session.c @@ -218,12 +218,6 @@ auth_session_process_ready_cb (gpointer object, const GError *error, gpointer us process_data->cancellable, auth_session_process_reply, res); - - g_signal_emit (self, - auth_session_signals[STATE_CHANGED], - 0, - SIGNON_AUTH_SESSION_STATE_PROCESS_PENDING, - auth_session_process_pending_message); } static void diff --git a/tests/check_signon.c b/tests/check_signon.c index 7adbdf0..b73eaa1 100644 --- a/tests/check_signon.c +++ b/tests/check_signon.c @@ -932,35 +932,13 @@ START_TEST(test_remove_identity) main_loop = g_main_loop_new (NULL, FALSE); /* - * Try to remove non-stored idetnity + * Try to remove non-stored identity * */ signon_identity_remove(idty, identity_remove_cb, NULL); g_main_loop_run (main_loop); GHashTable *methods = create_methods_hashtable(); - gchar username[] = "James Bond"; - gchar secret[] = "007"; - gchar caption[] = "MI-6"; - - signon_identity_store_credentials_with_args (idty, - username, - secret, - 1, - methods, - caption, - NULL, - NULL, - NULL, - 0, - store_credentials_identity_cb, - NULL); - g_hash_table_destroy (methods); - g_main_loop_run (main_loop); - - signon_identity_remove(idty, identity_remove_cb, NULL); - g_main_loop_run (main_loop); - /* * Try to remove existing identy * */