StatusCode::OK,
format!(
".*
- id
- {inscription_id}
.*- output
- 0000000000000000000000000000000000000000000000000000000000000000:0
.*"
),
);
server.assert_response_regex(
"/output/0000000000000000000000000000000000000000000000000000000000000000:0",
StatusCode::OK,
".*Output 0000000000000000000000000000000000000000000000000000000000000000:0
- inscriptions
-
.*",
);
}
#[test]
fn unbound_output_returns_200() {
TestServer::new().assert_response_regex(
"/output/0000000000000000000000000000000000000000000000000000000000000000:0",
StatusCode::OK,
".*",
);
}
#[test]
fn invalid_output_returns_400() {