summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorMatthew Jordan <mjordan@digium.com>2014-10-17 01:45:38 +0000
committerMatthew Jordan <mjordan@digium.com>2014-10-17 01:45:38 +0000
commitcb9ae40a31355d31bf7c627a6feae048eb2bc589 (patch)
tree66c6317a44cc57f458455459a804e8cef1b8b222 /tests
parentfdcec1ef40b1104eb58e22842abce2f1a46be2f2 (diff)
test_cel: Update pickup test to expect CANCEL instead of ANSWSER
The CEL pickup test previously looked for a disposition of ANSWER between the original caller/peer when the call is picked up. This is actually incorrect: the disposition should, at the very least, not be ANSWER as the call was never ANSWERed. The disposition is now CANCEL; this patch updates the test accordingly. ........ Merged revisions 425757 from http://svn.asterisk.org/svn/asterisk/branches/12 git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/13@425758 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'tests')
-rw-r--r--tests/test_cel.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test_cel.c b/tests/test_cel.c
index 937a0cf27..3164d4194 100644
--- a/tests/test_cel.c
+++ b/tests/test_cel.c
@@ -1608,7 +1608,7 @@ AST_TEST_DEFINE(test_cel_dial_pickup)
ast_channel_publish_dial(chan_caller, chan_callee, NULL, "ANSWER");
- HANGUP_CHANNEL(chan_caller, AST_CAUSE_NORMAL, "ANSWER");
+ HANGUP_CHANNEL(chan_caller, AST_CAUSE_NORMAL, "CANCEL");
HANGUP_CHANNEL(chan_callee, AST_CAUSE_NORMAL, "");
return AST_TEST_PASS;