Commit b6a6cf0f authored by Alberto Mardegan's avatar Alberto Mardegan

Tests: remove check for undefined case

Calling store_credentials on an identity which has been removed is a
corner case that should lead to undefined behaviour. Remove this bit
from the tests, since it's also failing depending if the identity object
has timed out or not.
parent 0c84771b
Pipeline #4391325 passed with stages
in 9 minutes and 13 seconds
......@@ -1064,29 +1064,6 @@ START_TEST(test_remove_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[] = "caption";
signon_identity_store_credentials_with_args (idty,
username,
secret,
1,
methods,
caption,
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
* */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment