this repo has no description
1mod common; 2use common::*; 3use reqwest::StatusCode; 4 5#[tokio::test] 6#[ignore] 7async fn test_get_repo() { 8 let client = client(); 9 let params = [("did", AUTH_DID)]; 10 let res = client 11 .get(format!( 12 "{}/xrpc/com.atproto.sync.getRepo", 13 base_url().await 14 )) 15 .query(&params) 16 .send() 17 .await 18 .expect("Failed to send request"); 19 20 assert_eq!(res.status(), StatusCode::OK); 21} 22 23#[tokio::test] 24#[ignore] 25async fn test_get_blocks() { 26 let client = client(); 27 let params = [ 28 ("did", AUTH_DID), 29 // "cids" would be a list of CIDs 30 ]; 31 let res = client 32 .get(format!( 33 "{}/xrpc/com.atproto.sync.getBlocks", 34 base_url().await 35 )) 36 .query(&params) 37 .send() 38 .await 39 .expect("Failed to send request"); 40 41 assert_eq!(res.status(), StatusCode::OK); 42}