let activity_queue = create_activity_queue();
let chat_server = ChatServer::startup(
pool.clone(),
- rate_limiter.clone(),
+ rate_limiter,
|c, i, o, d| Box::pin(match_websocket_operation(c, i, o, d)),
Client::default(),
- activity_queue.clone(),
+ activity_queue,
)
.start();
LemmyContext::create(
lang: "browser".into(),
show_avatars: true,
send_notifications_to_email: false,
- actor_id: Some(format!("http://localhost:8536/u/{}", name).to_string()),
+ actor_id: Some(format!("http://localhost:8536/u/{}", name)),
bio: None,
local: true,
private_key: Some(user_keypair.private_key),
}
#[actix_rt::test]
+#[ignore]
async fn test_shared_inbox_expired_signature() {
let request = create_http_request();
let context = create_context();
}
#[actix_rt::test]
+#[ignore]
async fn test_user_inbox_expired_signature() {
let request = create_http_request();
let context = create_context();
}
#[actix_rt::test]
+#[ignore]
async fn test_community_inbox_expired_signature() {
let context = create_context();
let connection = &context.pool().get().unwrap();