mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-05 20:20:07 +00:00
Stasis: Update unittest for channel snapshots
This adjusts the unit test for channel snapshots to take the new language key into account. ........ Merged revisions 429352 from http://svn.asterisk.org/svn/asterisk/branches/13 git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@429353 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -278,6 +278,7 @@ AST_TEST_DEFINE(channel_snapshot_json)
|
|||||||
" s: { s: s, s: s, s: i },"
|
" s: { s: s, s: s, s: i },"
|
||||||
" s: { s: s, s: s },"
|
" s: { s: s, s: s },"
|
||||||
" s: { s: s, s: s },"
|
" s: { s: s, s: s },"
|
||||||
|
" s: s"
|
||||||
" s: o"
|
" s: o"
|
||||||
"}",
|
"}",
|
||||||
"name", "TEST/name",
|
"name", "TEST/name",
|
||||||
@@ -294,6 +295,7 @@ AST_TEST_DEFINE(channel_snapshot_json)
|
|||||||
"connected",
|
"connected",
|
||||||
"name", "",
|
"name", "",
|
||||||
"number", "",
|
"number", "",
|
||||||
|
"language", "en",
|
||||||
"creationtime",
|
"creationtime",
|
||||||
ast_json_timeval(
|
ast_json_timeval(
|
||||||
ast_channel_creationtime(chan), NULL));
|
ast_channel_creationtime(chan), NULL));
|
||||||
|
Reference in New Issue
Block a user