From b16df593732517f071eed828023411f0912d4135 Mon Sep 17 00:00:00 2001 From: Nutomic Date: Tue, 15 Nov 2022 22:38:26 +0000 Subject: [PATCH] Fix activity list test (#2562) --- crates/apub/src/activity_lists.rs | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) 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(); -- 2.44.1