]> Untitled Git - lemmy.git/blobdiff - crates/apub/src/objects/private_message.rs
Remove `actix_rt` & use standard tokio spawn (#3158)
[lemmy.git] / crates / apub / src / objects / private_message.rs
index 01f576ff8ff667f7ed8679850271ad9cc9a8d4f1..ae2637c58e9a40aaabe52972e530f0851ed452db 100644 (file)
@@ -187,7 +187,7 @@ mod tests {
     Site::delete(context.pool(), data.2.id).await.unwrap();
   }
 
-  #[actix_rt::test]
+  #[tokio::test]
   #[serial]
   async fn test_parse_lemmy_pm() {
     let context = init_context().await;
@@ -213,7 +213,7 @@ mod tests {
     cleanup(data, &context).await;
   }
 
-  #[actix_rt::test]
+  #[tokio::test]
   #[serial]
   async fn test_parse_pleroma_pm() {
     let context = init_context().await;