]> Untitled Git - lemmy.git/blobdiff - crates/apub/src/protocol/objects/mod.rs
Mobilizon federation (#2544)
[lemmy.git] / crates / apub / src / protocol / objects / mod.rs
index 0fcbc08e6cfde9d64d6f6eba7ce9c3a6b6d2916f..5a3b90bf61446d942912a3e2893b49eb94a984af 100644 (file)
@@ -167,4 +167,11 @@ mod tests {
     test_json::<Page>("assets/peertube/objects/video.json").unwrap();
     test_json::<Note>("assets/peertube/objects/note.json").unwrap();
   }
+
+  #[test]
+  fn test_parse_object_mobilizon() {
+    test_json::<Group>("assets/mobilizon/objects/group.json").unwrap();
+    test_json::<Page>("assets/mobilizon/objects/event.json").unwrap();
+    test_json::<Person>("assets/mobilizon/objects/person.json").unwrap();
+  }
 }