@@ -62,7 +62,7 @@ async fn setup_call() -> Result<CallSetup> {
6262 assert ! ( !info. is_accepted( ) ) ;
6363 assert_eq ! ( info. place_call_info, PLACE_INFO ) ;
6464 assert_eq ! ( info. has_video_initially( ) , true ) ;
65- assert_text ( t, m. id , "Outgoing call" ) . await ?;
65+ assert_text ( t, m. id , "Outgoing video call" ) . await ?;
6666 assert_eq ! ( call_state( t, m. id) . await ?, CallState :: Alerting ) ;
6767 }
6868
@@ -84,7 +84,7 @@ async fn setup_call() -> Result<CallSetup> {
8484 assert ! ( !info. is_accepted( ) ) ;
8585 assert_eq ! ( info. place_call_info, PLACE_INFO ) ;
8686 assert_eq ! ( info. has_video_initially( ) , true ) ;
87- assert_text ( t, m. id , "Incoming call" ) . await ?;
87+ assert_text ( t, m. id , "Incoming video call" ) . await ?;
8888 assert_eq ! ( call_state( t, m. id) . await ?, CallState :: Alerting ) ;
8989 }
9090
@@ -115,7 +115,7 @@ async fn accept_call() -> Result<CallSetup> {
115115 // Bob accepts the incoming call
116116 bob. accept_incoming_call ( bob_call. id , ACCEPT_INFO . to_string ( ) )
117117 . await ?;
118- assert_text ( & bob, bob_call. id , "Incoming call" ) . await ?;
118+ assert_text ( & bob, bob_call. id , "Incoming video call" ) . await ?;
119119 bob. evtracker
120120 . get_matching ( |evt| matches ! ( evt, EventType :: IncomingCallAccepted { .. } ) )
121121 . await ;
@@ -129,7 +129,7 @@ async fn accept_call() -> Result<CallSetup> {
129129 assert_eq ! ( call_state( & bob, bob_call. id) . await ?, CallState :: Active ) ;
130130
131131 bob2. recv_msg_trash ( & sent2) . await ;
132- assert_text ( & bob, bob_call. id , "Incoming call" ) . await ?;
132+ assert_text ( & bob, bob_call. id , "Incoming video call" ) . await ?;
133133 bob2. evtracker
134134 . get_matching ( |evt| matches ! ( evt, EventType :: IncomingCallAccepted { .. } ) )
135135 . await ;
@@ -142,7 +142,7 @@ async fn accept_call() -> Result<CallSetup> {
142142
143143 // Alice receives the acceptance message
144144 alice. recv_msg_trash ( & sent2) . await ;
145- assert_text ( & alice, alice_call. id , "Outgoing call" ) . await ?;
145+ assert_text ( & alice, alice_call. id , "Outgoing video call" ) . await ?;
146146 let ev = alice
147147 . evtracker
148148 . get_matching ( |evt| matches ! ( evt, EventType :: OutgoingCallAccepted { .. } ) )
@@ -164,7 +164,7 @@ async fn accept_call() -> Result<CallSetup> {
164164 assert_eq ! ( call_state( & alice, alice_call. id) . await ?, CallState :: Active ) ;
165165
166166 alice2. recv_msg_trash ( & sent2) . await ;
167- assert_text ( & alice2, alice2_call. id , "Outgoing call" ) . await ?;
167+ assert_text ( & alice2, alice2_call. id , "Outgoing video call" ) . await ?;
168168 alice2
169169 . evtracker
170170 . get_matching ( |evt| matches ! ( evt, EventType :: OutgoingCallAccepted { .. } ) )
@@ -203,7 +203,7 @@ async fn test_accept_call_callee_ends() -> Result<()> {
203203
204204 // Bob has accepted the call and also ends it
205205 bob. end_call ( bob_call. id ) . await ?;
206- assert_text ( & bob, bob_call. id , "Incoming call\n <1 minute" ) . await ?;
206+ assert_text ( & bob, bob_call. id , "Incoming video call\n <1 minute" ) . await ?;
207207 bob. evtracker
208208 . get_matching ( |evt| matches ! ( evt, EventType :: CallEnded { .. } ) )
209209 . await ;
@@ -214,7 +214,7 @@ async fn test_accept_call_callee_ends() -> Result<()> {
214214 ) ) ;
215215
216216 bob2. recv_msg_trash ( & sent3) . await ;
217- assert_text ( & bob2, bob2_call. id , "Incoming call\n <1 minute" ) . await ?;
217+ assert_text ( & bob2, bob2_call. id , "Incoming video call\n <1 minute" ) . await ?;
218218 bob2. evtracker
219219 . get_matching ( |evt| matches ! ( evt, EventType :: CallEnded { .. } ) )
220220 . await ;
@@ -225,7 +225,7 @@ async fn test_accept_call_callee_ends() -> Result<()> {
225225
226226 // Alice receives the ending message
227227 alice. recv_msg_trash ( & sent3) . await ;
228- assert_text ( & alice, alice_call. id , "Outgoing call\n <1 minute" ) . await ?;
228+ assert_text ( & alice, alice_call. id , "Outgoing video call\n <1 minute" ) . await ?;
229229 alice
230230 . evtracker
231231 . get_matching ( |evt| matches ! ( evt, EventType :: CallEnded { .. } ) )
@@ -236,7 +236,7 @@ async fn test_accept_call_callee_ends() -> Result<()> {
236236 ) ) ;
237237
238238 alice2. recv_msg_trash ( & sent3) . await ;
239- assert_text ( & alice2, alice2_call. id , "Outgoing call\n <1 minute" ) . await ?;
239+ assert_text ( & alice2, alice2_call. id , "Outgoing video call\n <1 minute" ) . await ?;
240240 alice2
241241 . evtracker
242242 . get_matching ( |evt| matches ! ( evt, EventType :: CallEnded { .. } ) )
@@ -266,7 +266,7 @@ async fn test_accept_call_caller_ends() -> Result<()> {
266266
267267 // Bob has accepted the call but Alice ends it
268268 alice. end_call ( alice_call. id ) . await ?;
269- assert_text ( & alice, alice_call. id , "Outgoing call\n <1 minute" ) . await ?;
269+ assert_text ( & alice, alice_call. id , "Outgoing video call\n <1 minute" ) . await ?;
270270 alice
271271 . evtracker
272272 . get_matching ( |evt| matches ! ( evt, EventType :: CallEnded { .. } ) )
@@ -278,7 +278,7 @@ async fn test_accept_call_caller_ends() -> Result<()> {
278278 ) ) ;
279279
280280 alice2. recv_msg_trash ( & sent3) . await ;
281- assert_text ( & alice2, alice2_call. id , "Outgoing call\n <1 minute" ) . await ?;
281+ assert_text ( & alice2, alice2_call. id , "Outgoing video call\n <1 minute" ) . await ?;
282282 alice2
283283 . evtracker
284284 . get_matching ( |evt| matches ! ( evt, EventType :: CallEnded { .. } ) )
@@ -290,7 +290,7 @@ async fn test_accept_call_caller_ends() -> Result<()> {
290290
291291 // Bob receives the ending message
292292 bob. recv_msg_trash ( & sent3) . await ;
293- assert_text ( & bob, bob_call. id , "Incoming call\n <1 minute" ) . await ?;
293+ assert_text ( & bob, bob_call. id , "Incoming video call\n <1 minute" ) . await ?;
294294 bob. evtracker
295295 . get_matching ( |evt| matches ! ( evt, EventType :: CallEnded { .. } ) )
296296 . await ;
@@ -300,7 +300,7 @@ async fn test_accept_call_caller_ends() -> Result<()> {
300300 ) ) ;
301301
302302 bob2. recv_msg_trash ( & sent3) . await ;
303- assert_text ( & bob2, bob2_call. id , "Incoming call\n <1 minute" ) . await ?;
303+ assert_text ( & bob2, bob2_call. id , "Incoming video call\n <1 minute" ) . await ?;
304304 bob2. evtracker
305305 . get_matching ( |evt| matches ! ( evt, EventType :: CallEnded { .. } ) )
306306 . await ;
@@ -420,7 +420,7 @@ async fn test_caller_cancels_call() -> Result<()> {
420420 // Test that message summary says it is a missed call.
421421 let bob_call_msg = Message :: load_from_db ( & bob, bob_call. id ) . await ?;
422422 let summary = bob_call_msg. get_summary ( & bob, None ) . await ?;
423- assert_eq ! ( summary. text, "📞 Missed call" ) ;
423+ assert_eq ! ( summary. text, "🎥 Missed call" ) ;
424424
425425 bob2. recv_msg_trash ( & sent3) . await ;
426426 assert_text ( & bob2, bob2_call. id , "Missed call" ) . await ?;
0 commit comments