summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorAlfred E. Heggestad <aeh@db.org>2016-02-28 18:04:19 +0100
committerAlfred E. Heggestad <aeh@db.org>2016-02-28 18:04:19 +0100
commit7e002c7d0aad76fb78b57679d597fc270cd6e573 (patch)
tree345d2f6e0aab658d6ac04d7e097458e8d612da0b /test
parentee1719f51d31eecf061b7b126782963fb5e020ca (diff)
ua: add UA_EVENT_CALL_CLOSED on ua_hangup
thanks to Gary Metalle for testing ref. issue #111
Diffstat (limited to 'test')
-rw-r--r--test/call.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/call.c b/test/call.c
index 64854fd..b597f3a 100644
--- a/test/call.c
+++ b/test/call.c
@@ -311,7 +311,7 @@ int test_call_answer_hangup_a(void)
TEST_ERR(fix.err);
ASSERT_EQ(1, fix.a.n_established);
- ASSERT_EQ(0, fix.a.n_closed);
+ ASSERT_EQ(1, fix.a.n_closed);
ASSERT_EQ(0, fix.a.close_scode);
ASSERT_EQ(1, fix.b.n_established);
@@ -349,7 +349,7 @@ int test_call_answer_hangup_b(void)
ASSERT_EQ(0, fix.a.close_scode);
ASSERT_EQ(1, fix.b.n_established);
- ASSERT_EQ(0, fix.b.n_closed);
+ ASSERT_EQ(1, fix.b.n_closed);
ASSERT_EQ(0, fix.b.close_scode);
out: