Skip to content

Commit cf757e6

Browse files
authored
Fix tests. (#103)
1 parent 234ba17 commit cf757e6

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

script/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ mod tests {
1010
#[tokio::test]
1111
async fn test_get_justification_query_service() -> Result<()> {
1212
let client = RpcDataFetcher::new().await;
13-
let justification = client.get_justification(337281).await?;
13+
let justification = client.get_justification(2075796).await?;
1414
println!("Justification: {:?}", justification);
1515
Ok(())
1616
}

services/src/input.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -741,7 +741,7 @@ mod tests {
741741
}
742742

743743
#[test_case("test_assets/ancestry.json"; "Complex ancestry")]
744-
#[test_case("test_assets/ancestry_missing_link_no_majority.json" => panics "Less than 2/3 of signatures are verified"; "Missing ancestor negative case")]
744+
#[test_case("test_assets/ancestry_missing_link_no_majority.json" => panics "More than 2/3 of signatures are not verifie!"; "Missing ancestor negative case")]
745745
#[test_case("test_assets/ancestry_missing_link_works.json"; "Missing ancestor")]
746746
/// Tesing some complex justifications, serialized in JSON format (for readability)
747747
fn test_complex_justification(path: &str) {

0 commit comments

Comments
 (0)