feat(event-payload): add FetchRemoteActorPosts to uniqueness test
This commit is contained in:
@@ -408,6 +408,17 @@ mod tests {
|
|||||||
blocker_id: "a".into(),
|
blocker_id: "a".into(),
|
||||||
blocked_id: "b".into(),
|
blocked_id: "b".into(),
|
||||||
},
|
},
|
||||||
|
EventPayload::UserUnblocked {
|
||||||
|
blocker_id: "a".into(),
|
||||||
|
blocked_id: "b".into(),
|
||||||
|
},
|
||||||
|
EventPayload::UserRegistered {
|
||||||
|
user_id: "a".into(),
|
||||||
|
},
|
||||||
|
EventPayload::FetchRemoteActorPosts {
|
||||||
|
actor_ap_url: "https://mastodon.social/users/alice".into(),
|
||||||
|
outbox_url: "https://mastodon.social/users/alice/outbox".into(),
|
||||||
|
},
|
||||||
];
|
];
|
||||||
let mut subjects: Vec<&str> = samples.iter().map(|p| p.subject()).collect();
|
let mut subjects: Vec<&str> = samples.iter().map(|p| p.subject()).collect();
|
||||||
subjects.sort();
|
subjects.sort();
|
||||||
|
|||||||
Reference in New Issue
Block a user