@@ -971,7 +971,7 @@ def test_whatsapp_broadcasts(self, mock_queue_broadcast):
971
971
972
972
# try to send msg with an existing template
973
973
expected_metadata = {
974
- "template" : {"name" : template .name , "uuid" : template .uuid , "variables" : []},
974
+ "template" : {"name" : template .name , "uuid" : template .uuid , "variables" : [], "locale" : None },
975
975
"text" : "Send a message" ,
976
976
}
977
977
@@ -1113,7 +1113,7 @@ def test_whatsapp_broadcasts(self, mock_queue_broadcast):
1113
1113
"contacts" : [self .joe .uuid , self .frank .uuid ],
1114
1114
"groups" : [reporters .uuid ],
1115
1115
"ticket" : str (ticket .uuid ),
1116
- "msg" : {"template" : {"uuid" : template .uuid }, "variables" : ["1" ]},
1116
+ "msg" : {"template" : {"uuid" : template .uuid }, "variables" : ["1" ], "locale" : None },
1117
1117
"channel" : channel .uuid ,
1118
1118
},
1119
1119
)
@@ -1148,7 +1148,7 @@ def test_whatsapp_broadcasts(self, mock_queue_broadcast):
1148
1148
"contacts" : [self .joe .uuid , self .frank .uuid ],
1149
1149
"groups" : [reporters .uuid ],
1150
1150
"ticket" : str (ticket .uuid ),
1151
- "msg" : {"template" : {"uuid" : template .uuid , "variables" : ["1" ]}},
1151
+ "msg" : {"template" : {"uuid" : template .uuid , "variables" : ["1" ], "locale" : None }},
1152
1152
"channel" : channel .uuid ,
1153
1153
},
1154
1154
)
0 commit comments