Our Personal Data Server from scratch! tranquil.farm
oauth atproto pds rust postgresql objectstorage fun

fix(test): update test_server_basics to reflect new health endpoint format

authored by nel.pet and committed by tangled.org 4005041e 1c75668b

+7 -1
+7 -1
crates/tranquil-pds/tests/server.rs
··· 11 11 let base = base_url().await; 12 12 let health = client.get(format!("{}/health", base)).send().await.unwrap(); 13 13 assert_eq!(health.status(), StatusCode::OK); 14 - assert_eq!(health.text().await.unwrap(), "OK"); 14 + assert!( 15 + health 16 + .text() 17 + .await 18 + .unwrap() 19 + .starts_with("{\"version\":\"tranquil ") 20 + ); 15 21 let describe = client 16 22 .get(format!("{}/xrpc/com.atproto.server.describeServer", base)) 17 23 .send()