Commit 7a9bf14e authored by Pekka Pessi's avatar Pekka Pessi

nua/test_register.c: allow challenge to un-REGISTER

darcs-hash:20070416192031-55b16-1306efb6c9799a4a06cc37c6be00271582fcefa8.gz
parent 972410e4
......@@ -763,6 +763,10 @@ int test_unregister(struct context *ctx)
run_c_until(ctx, -1, save_until_final_response);
TEST_1(e = c->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