![](/_next/image?url=%2Fimages%2Fgradient-top-bg.png&w=1920&q=75)
inscriptions: Vec::new(), runes: vec![(Rune(RUNE), 340282366920938463463374607431768211455)] .into_iter() .collect(), } ); } #[test] fn http_to_https_redirect_with_path() { TestServer::new_with_args(&[], &["--redirect-http-to-https", "--https"]).assert_redirect( "/sat/0", &format!("https://{}/sat/0", System::new().host_name().unwrap()), ); } #[test] fn http_to_https_redirect_with_empty() { TestServer::new_with_args(&[], &["--redirect-http-to-https", "--https"]).assert_redirect( "/", &format!("https://{}/", System::new().host_name().unwrap()), ); } #[test] fn status() { TestServer::new().assert_response("/status", StatusCode::OK, "OK"); } #[test] fn block_count_endpoint() { let test_server = TestServer::new(); let response = test_server.get("/blockcount"); assert_eq!(response.status(), StatusCode::OK); assert_eq!(response.text().unwrap(), "1"); test_server.mine_blocks(1);
Inscription #44971940
Collection
Ord
Owner
bc1ppn2s0g...azqsxj94tyID
19c5b85cb9...80cbedc1i0
Detail
History
Sign Up for our Newsletter
And be the first to know about any updates!