@@ -5040,32 +5040,6 @@ async fn test_unarchive_on_member_removal() -> Result<()> {
5040
5040
Ok ( ( ) )
5041
5041
}
5042
5042
5043
- #[ tokio:: test( flavor = "multi_thread" , worker_threads = 2 ) ]
5044
- async fn test_no_op_member_added_is_trash ( ) -> Result < ( ) > {
5045
- let mut tcm = TestContextManager :: new ( ) ;
5046
- let alice = & tcm. alice ( ) . await ;
5047
- let bob = & tcm. bob ( ) . await ;
5048
- let alice_chat_id = alice
5049
- . create_group_with_members ( ProtectionStatus :: Unprotected , "foos" , & [ bob] )
5050
- . await ;
5051
- send_text_msg ( alice, alice_chat_id, "populate" . to_string ( ) ) . await ?;
5052
- let msg = alice. pop_sent_msg ( ) . await ;
5053
- bob. recv_msg ( & msg) . await ;
5054
- let bob_chat_id = bob. get_last_msg ( ) . await . chat_id ;
5055
- bob_chat_id. accept ( bob) . await ?;
5056
-
5057
- let fiona_id =
Contact :: create ( alice
, "" , "[email protected] " ) . await ?
;
5058
- add_contact_to_chat ( alice, alice_chat_id, fiona_id) . await ?;
5059
- let msg = alice. pop_sent_msg ( ) . await ;
5060
-
5061
- let fiona_id =
Contact :: create ( bob
, "" , "[email protected] " ) . await ?
;
5062
- add_contact_to_chat ( bob, bob_chat_id, fiona_id) . await ?;
5063
- bob. recv_msg_trash ( & msg) . await ;
5064
- let contacts = get_chat_contacts ( bob, bob_chat_id) . await ?;
5065
- assert_eq ! ( contacts. len( ) , 3 ) ;
5066
- Ok ( ( ) )
5067
- }
5068
-
5069
5043
#[ tokio:: test( flavor = "multi_thread" , worker_threads = 2 ) ]
5070
5044
async fn test_forged_from ( ) -> Result < ( ) > {
5071
5045
let mut tcm = TestContextManager :: new ( ) ;
0 commit comments