diff options
Diffstat (limited to 'tests/test_res_stasis.c')
-rw-r--r-- | tests/test_res_stasis.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/test_res_stasis.c b/tests/test_res_stasis.c index 321f40f3d..5865f0951 100644 --- a/tests/test_res_stasis.c +++ b/tests/test_res_stasis.c @@ -157,7 +157,9 @@ AST_TEST_DEFINE(app_replaced) stasis_app_register(app_name, test_handler, app_data1); stasis_app_register(app_name, test_handler, app_data2); - expected_message1 = ast_json_pack("[{s: {s: s}}]", "application_replaced", "application", app_name); + expected_message1 = ast_json_pack("[{s: s, s: s}]", + "type", "ApplicationReplaced", + "application", app_name); message = ast_json_pack("{ s: o }", "test-message", ast_json_null()); expected_message2 = ast_json_pack("[o]", ast_json_ref(message)); |