Skip to content

Commit

Permalink
++
Browse files Browse the repository at this point in the history
  • Loading branch information
bitdivine committed Sep 26, 2024
1 parent 70754b5 commit fe3c911
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/example/paid_service/tests/it/patron_pays_icrc2_tokens.rs
Original file line number Diff line number Diff line change
Expand Up @@ -60,9 +60,9 @@ fn user_pays_cycles_for_user2() {
setup.call_paid_service(setup.unauthorized_user, method, &payment_arg);
assert_eq!(
response,
Err(PaymentError::LedgerWithdrawFromError {
Err(PaymentError::LedgerTransferFromError {
ledger: setup.ledger.canister_id(),
error: cycles_ledger_client::WithdrawFromError::InsufficientAllowance {
error: cycles_ledger_client::TransferFromError::InsufficientAllowance {
allowance: Nat::from(0u32),
}
}),
Expand Down

0 comments on commit fe3c911

Please sign in to comment.