Commit d44bc582 authored by Pekka Pessi's avatar Pekka Pessi
Browse files

test_register.c: allow challenge because of stale credentials while unregistering A

parent a0c87aef
......@@ -685,6 +685,10 @@ int test_unregister(struct context *ctx)
run_a_until(ctx, -1, save_until_final_response);
TEST_1(e = a->events->head);
TEST_E(e->data->e_event, nua_r_unregister);
if (e->data->e_status == 100) {
TEST_1(e = e->next);
TEST_E(e->data->e_event, nua_r_unregister);
TEST(e->data->e_status, 200);
TEST_1(sip = sip_object(e->data->e_msg));
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