Update CDR Unit tests to reflect container changes in r398579
[asterisk/asterisk.git] / tests / test_cdr.c
index 670334c..4fd1bdb 100644 (file)
@@ -42,10 +42,10 @@ ASTERISK_FILE_VERSION(__FILE__, "$Revision$")
 #include "asterisk/utils.h"
 #include "asterisk/causes.h"
 #include "asterisk/time.h"
-#include "asterisk/bridging.h"
-#include "asterisk/bridging_basic.h"
+#include "asterisk/bridge.h"
+#include "asterisk/bridge_basic.h"
 #include "asterisk/stasis_channels.h"
-#include "asterisk/stasis_bridging.h"
+#include "asterisk/stasis_bridges.h"
 
 #define EPSILON 0.001
 
@@ -1808,14 +1808,14 @@ AST_TEST_DEFINE(test_cdr_dial_answer_multiparty)
                .dst = "100",
                .dcontext = "default",
                .channel = CHANNEL_TECH_NAME "/Alice",
-               .dstchannel = CHANNEL_TECH_NAME "/David",
+               .dstchannel = CHANNEL_TECH_NAME "/Charlie",
                .lastapp = "Dial",
                .lastdata = CHANNEL_TECH_NAME "/Bob",
                .amaflags = AST_AMA_DOCUMENTATION,
                .billsec = 1,
                .disposition = AST_CDR_ANSWERED,
                .accountcode = "100",
-               .peeraccount = "400",
+               .peeraccount = "300",
                .next = &charlie_expected_one,
        };
        struct ast_cdr alice_expected_two = {
@@ -1824,14 +1824,14 @@ AST_TEST_DEFINE(test_cdr_dial_answer_multiparty)
                .dst = "100",
                .dcontext = "default",
                .channel = CHANNEL_TECH_NAME "/Alice",
-               .dstchannel = CHANNEL_TECH_NAME "/Charlie",
+               .dstchannel = CHANNEL_TECH_NAME "/David",
                .lastapp = "Dial",
                .lastdata = CHANNEL_TECH_NAME "/Bob",
                .amaflags = AST_AMA_DOCUMENTATION,
                .billsec = 1,
                .disposition = AST_CDR_ANSWERED,
                .accountcode = "100",
-               .peeraccount = "300",
+               .peeraccount = "400",
                .next = &alice_expected_three,
        };
        struct ast_cdr alice_expected_one = {
@@ -2402,7 +2402,8 @@ AST_TEST_DEFINE(test_cdr_fork_cdr)
 }
 
 /*!
- * \internal \brief Callback function called before each test executes
+ * \internal
+ * \brief Callback function called before each test executes
  */
 static int test_cdr_init_cb(struct ast_test_info *info, struct ast_test *test)
 {
@@ -2413,7 +2414,8 @@ static int test_cdr_init_cb(struct ast_test_info *info, struct ast_test *test)
 }
 
 /*!
- * \internal \brief Callback function called after each test executes
+ * \internal
+ * \brief Callback function called after each test executes
  */
 static int test_cdr_cleanup_cb(struct ast_test_info *info, struct ast_test *test)
 {