Skip to content

Commit

Permalink
fix more
Browse files Browse the repository at this point in the history
  • Loading branch information
lwshang committed Jan 7, 2025
1 parent 3fcf671 commit 7e6c743
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions rs/tests/consensus/tecdsa/tecdsa_signature_life_cycle_test.rs
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ fn test(env: TestEnv) {
ChainKeyError(\"Requested unknown threshold key: {}, existing keys: {}\")",
key_id3, initial_key_ids_as_string,
),
error_code: None,
error_code: Some("IC0406".to_string()),
})
);
assert_eq!(
Expand All @@ -121,7 +121,7 @@ fn test(env: TestEnv) {
existing enabled keys: {}\")",
key_id3, initial_key_ids_as_string,
),
error_code: None,
error_code: Some("IC0406".to_string()),
})
);

Expand Down Expand Up @@ -228,7 +228,7 @@ fn test(env: TestEnv) {
existing enabled keys: []\")",
method_name, key_id
),
error_code: None
error_code: Some("IC0406".to_string())
})
);
break;
Expand Down
2 changes: 1 addition & 1 deletion rs/tests/consensus/tecdsa/tecdsa_signature_timeout_test.rs
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ fn test(env: TestEnv) {
AgentError::CertifiedReject(RejectResponse {
reject_code: RejectCode::CanisterReject,
reject_message: "Signature request expired".to_string(),
error_code: None
error_code: Some("IC0406".to_string())
})
)
}
Expand Down

0 comments on commit 7e6c743

Please sign in to comment.