]> Untitled Git - lemmy.git/blobdiff - tests/integration_test.rs
Merge remote-tracking branch 'origin/split-db-workspace' into move_views_to_diesel_split
[lemmy.git] / tests / integration_test.rs
index 7c346d865e19435ba50e8c99baeb72a1cdd7dcaf..c507af0670133117ac9c50e9f1d880c3303d602b 100644 (file)
@@ -56,10 +56,10 @@ fn create_context() -> LemmyContext {
   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(
@@ -91,7 +91,7 @@ fn create_user(conn: &PgConnection, name: &str) -> User_ {
     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),
@@ -152,6 +152,7 @@ fn create_http_request() -> HttpRequest {
 }
 
 #[actix_rt::test]
+#[ignore]
 async fn test_shared_inbox_expired_signature() {
   let request = create_http_request();
   let context = create_context();
@@ -168,6 +169,7 @@ async fn test_shared_inbox_expired_signature() {
 }
 
 #[actix_rt::test]
+#[ignore]
 async fn test_user_inbox_expired_signature() {
   let request = create_http_request();
   let context = create_context();
@@ -187,6 +189,7 @@ async fn test_user_inbox_expired_signature() {
 }
 
 #[actix_rt::test]
+#[ignore]
 async fn test_community_inbox_expired_signature() {
   let context = create_context();
   let connection = &context.pool().get().unwrap();