Commit d44bc582 authored by Pekka Pessi's avatar Pekka Pessi

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

darcs-hash:20070411110630-65a35-81d2d2bc030c0c65e6860023a844a2aad238aa28.gz
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));
TEST_1(!sip->sip_contact);
......
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