Skip to content

Commit

Permalink
another
Browse files Browse the repository at this point in the history
  • Loading branch information
adamspofford-dfinity committed Dec 20, 2024
1 parent d6a929d commit ba991bc
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
5 changes: 3 additions & 2 deletions ref-tests/tests/ic-ref.rs
Original file line number Diff line number Diff line change
Expand Up @@ -514,8 +514,9 @@ mod management_canister {
Err(AgentError::CertifiedReject(RejectResponse {
reject_code: RejectCode::CanisterError,
reject_message,
error_code: None,
error_code: Some(error_code),
})) if reject_message.contains(&format!("Canister {canister_id}: Canister has no update method 'update'"))
&& error_code == "IC0536"
),
"wrong error: {result:?}"
);
Expand Down Expand Up @@ -738,7 +739,7 @@ mod management_canister {

let args = Argument::from_candid((create_args,));

let creation_fee = 100_000_000_000;
let creation_fee = 500_000_000_000;
let canister_initial_balance = 4_000_000_000;
let (create_result,): (CreateResult,) = wallet
.call(
Expand Down
4 changes: 2 additions & 2 deletions ref-tests/tests/integration.rs
Original file line number Diff line number Diff line change
Expand Up @@ -191,12 +191,12 @@ fn canister_reject_call() {
Err(AgentError::CertifiedReject(RejectResponse {
reject_code: RejectCode::CanisterError,
reject_message,
error_code: None,
error_code: Some(error_code),
..
})) if reject_message.contains(&format!(
"Canister {}: Canister has no update method 'wallet_send'",
alice.canister_id()
))
)) && error_code == "IC0536"
),
"wrong error: {result:?}"
);
Expand Down

0 comments on commit ba991bc

Please sign in to comment.