strip session-added comments
This commit is contained in:
@@ -1,7 +1,3 @@
|
||||
//! End to end on the real wiring: a `UserDeleted` event in the outbox makes
|
||||
//! the worker tell followers, purge the account, and leave the tombstone that
|
||||
//! the queued deliveries are signed from.
|
||||
|
||||
mod support;
|
||||
|
||||
use std::time::Duration;
|
||||
@@ -59,8 +55,6 @@ async fn the_worker_purges_a_deleted_account_and_frees_its_email() {
|
||||
assert!(!again.user_id.is_empty(), "the email can register again");
|
||||
}
|
||||
|
||||
/// With a follower, the Delete is enqueued for delivery even though the
|
||||
/// account is already tombstoned, and the keypair outlives the purge.
|
||||
#[cfg(feature = "federation")]
|
||||
#[tokio::test]
|
||||
async fn followers_are_told_before_the_purge_and_the_keypair_survives_it() {
|
||||
@@ -103,7 +97,6 @@ async fn followers_are_told_before_the_purge_and_the_keypair_survives_it() {
|
||||
"SELECT COUNT(*) FROM users WHERE username = 'alice' AND purged_at IS NOT NULL",
|
||||
)
|
||||
.await;
|
||||
// Deliveries are enqueued from a spawned task, so wait for them too.
|
||||
let enqueued = wait_for(
|
||||
&pool,
|
||||
"SELECT COUNT(*) FROM event_queue WHERE event_type = 'FederationDeliveryRequested'",
|
||||
|
||||
Reference in New Issue
Block a user