summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorKinsey Moore <kmoore@digium.com>2014-12-11 13:49:24 +0000
committerKinsey Moore <kmoore@digium.com>2014-12-11 13:49:24 +0000
commit50f651729683529139e8edcb0a71342ecc905605 (patch)
treefaed0586c0ba3f5e6256251c39cf4063ca50fa38 /tests
parentd4a05879d652ffeb7f7e0be6d9122221bd68da04 (diff)
Stasis: Update unittest for channel snapshots
This adjusts the unit test for channel snapshots to take the new language key into account. git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/13@429352 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'tests')
-rw-r--r--tests/test_stasis_channels.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/test_stasis_channels.c b/tests/test_stasis_channels.c
index 4c4bc665e..2a36c4f28 100644
--- a/tests/test_stasis_channels.c
+++ b/tests/test_stasis_channels.c
@@ -278,6 +278,7 @@ AST_TEST_DEFINE(channel_snapshot_json)
" s: { s: s, s: s, s: i },"
" s: { s: s, s: s },"
" s: { s: s, s: s },"
+ " s: s"
" s: o"
"}",
"name", "TEST/name",
@@ -294,6 +295,7 @@ AST_TEST_DEFINE(channel_snapshot_json)
"connected",
"name", "",
"number", "",
+ "language", "en",
"creationtime",
ast_json_timeval(
ast_channel_creationtime(chan), NULL));