]> Untitled Git - lemmy.git/blobdiff - crates/apub/src/protocol/activities/create_or_update/mod.rs
Add tombstone tests, better test errors (#2046)
[lemmy.git] / crates / apub / src / protocol / activities / create_or_update / mod.rs
index 160bbfba305406996bdb44d312cb1c06c535c693..43576e446a51421b17b5c4dcf604fe724934e8a8 100644 (file)
@@ -16,13 +16,16 @@ mod tests {
   async fn test_parse_create_or_update() {
     test_parse_lemmy_item::<CreateOrUpdatePost>(
       "assets/lemmy/activities/create_or_update/create_page.json",
-    );
+    )
+    .unwrap();
     test_parse_lemmy_item::<CreateOrUpdatePost>(
       "assets/lemmy/activities/create_or_update/update_page.json",
-    );
+    )
+    .unwrap();
     test_parse_lemmy_item::<CreateOrUpdateComment>(
       "assets/lemmy/activities/create_or_update/create_note.json",
-    );
+    )
+    .unwrap();
 
     file_to_json_object::<WithContext<CreateOrUpdateComment>>(
       "assets/pleroma/activities/create_note.json",