@@ -36,6 +36,9 @@ use ruma::{
3636 get_public_rooms,
3737 get_public_rooms_filtered:: { self , v3:: Request as PublicRoomsFilterRequest } ,
3838 } ,
39+ threads:: get_thread_subscriptions_changes:: unstable:: {
40+ ThreadSubscription , ThreadUnsubscription ,
41+ } ,
3942 uiaa,
4043 } ,
4144 assign, device_id,
@@ -1511,8 +1514,6 @@ async fn test_room_sync_state_after() {
15111514
15121515#[ async_test]
15131516async fn test_server_vendor_info ( ) {
1514- use matrix_sdk:: test_utils:: mocks:: MatrixMockServer ;
1515-
15161517 let server = MatrixMockServer :: new ( ) . await ;
15171518 let client = server. client_builder ( ) . build ( ) . await ;
15181519
@@ -1527,8 +1528,6 @@ async fn test_server_vendor_info() {
15271528
15281529#[ async_test]
15291530async fn test_server_vendor_info_with_missing_fields ( ) {
1530- use matrix_sdk:: test_utils:: mocks:: MatrixMockServer ;
1531-
15321531 let server = MatrixMockServer :: new ( ) . await ;
15331532 let client = server. client_builder ( ) . build ( ) . await ;
15341533
@@ -1544,10 +1543,6 @@ async fn test_server_vendor_info_with_missing_fields() {
15441543
15451544#[ async_test]
15461545async fn test_fetch_thread_subscriptions ( ) {
1547- use ruma:: api:: client:: threads:: get_thread_subscriptions_changes:: unstable:: {
1548- ThreadSubscription , ThreadUnsubscription ,
1549- } ;
1550-
15511546 let server = MatrixMockServer :: new ( ) . await ;
15521547 let client = server. client_builder ( ) . build ( ) . await ;
15531548
0 commit comments