From: Nutomic Date: Tue, 15 Nov 2022 22:38:26 +0000 (+0000) Subject: Fix activity list test (#2562) X-Git-Url: http://these/git/%7B%60https:/%7Bthis.state.thumbnail%7D?a=commitdiff_plain;h=b16df593732517f071eed828023411f0912d4135;p=lemmy.git Fix activity list test (#2562) --- diff --git a/crates/apub/src/activity_lists.rs b/crates/apub/src/activity_lists.rs index 86e87a2a..c7fb5185 100644 --- a/crates/apub/src/activity_lists.rs +++ b/crates/apub/src/activity_lists.rs @@ -133,7 +133,12 @@ impl GetCommunity for AnnouncableActivities { #[cfg(test)] mod tests { use crate::{ - activity_lists::{GroupInboxActivities, PersonInboxActivities, SiteInboxActivities}, + activity_lists::{ + GroupInboxActivities, + PersonInboxActivities, + PersonInboxActivitiesWithAnnouncable, + SiteInboxActivities, + }, protocol::tests::test_parse_lemmy_item, }; @@ -151,11 +156,11 @@ mod tests { fn test_person_inbox() { test_parse_lemmy_item::("assets/lemmy/activities/following/accept.json") .unwrap(); - test_parse_lemmy_item::( + test_parse_lemmy_item::( "assets/lemmy/activities/create_or_update/create_note.json", ) .unwrap(); - test_parse_lemmy_item::( + test_parse_lemmy_item::( "assets/lemmy/activities/create_or_update/create_private_message.json", ) .unwrap();