]> Untitled Git - lemmy.git/blobdiff - crates/apub/src/objects/comment.rs
Remove `actix_rt` & use standard tokio spawn (#3158)
[lemmy.git] / crates / apub / src / objects / comment.rs
index e2a03b8b3f8b69f62be3c8b1fe1ff25ba8f4d106..16cb1542b961dd91261c5b81dbf848417017a2c5 100644 (file)
@@ -223,7 +223,7 @@ pub(crate) mod tests {
     LocalSite::delete(context.pool()).await.unwrap();
   }
 
-  #[actix_rt::test]
+  #[tokio::test]
   #[serial]
   pub(crate) async fn test_parse_lemmy_comment() {
     let context = init_context().await;
@@ -249,7 +249,7 @@ pub(crate) mod tests {
     cleanup(data, &context).await;
   }
 
-  #[actix_rt::test]
+  #[tokio::test]
   #[serial]
   async fn test_parse_pleroma_comment() {
     let context = init_context().await;
@@ -279,7 +279,7 @@ pub(crate) mod tests {
     cleanup(data, &context).await;
   }
 
-  #[actix_rt::test]
+  #[tokio::test]
   #[serial]
   async fn test_html_to_markdown_sanitize() {
     let parsed = parse_html("<script></script><b>hello</b>");