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 = [
10 ("did", AUTH_DID),
11 ];
12 let res = client.get(format!("{}/xrpc/com.atproto.sync.getRepo", base_url().await))
13 .query(¶ms)
14 .send()
15 .await
16 .expect("Failed to send request");
17
18 assert_eq!(res.status(), StatusCode::OK);
19}
20
21#[tokio::test]
22#[ignore]
23async fn test_get_blocks() {
24 let client = client();
25 let params = [
26 ("did", AUTH_DID),
27 // "cids" would be a list of CIDs
28 ];
29 let res = client.get(format!("{}/xrpc/com.atproto.sync.getBlocks", base_url().await))
30 .query(¶ms)
31 .send()
32 .await
33 .expect("Failed to send request");
34
35 assert_eq!(res.status(), StatusCode::OK);
36}