Skip to content

Commit

Permalink
fix: add missing assert statement
Browse files Browse the repository at this point in the history
  • Loading branch information
nakul1010 committed Dec 11, 2023
1 parent 38ed78f commit be533c3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions parachain/runtime/runtime-tests/src/parachain/redeem.rs
Original file line number Diff line number Diff line change
Expand Up @@ -230,6 +230,7 @@ mod premium_redeem_tests {
let redeem_1 = RedeemPallet::get_open_redeem_request_from_id(&redeem_id_1).unwrap();
// recv premium should be equal to max premium
assert_eq!(redeem_1.premium, max_premium_for_vault.amount());
assert!(redeem_1.premium > 0);

// max premium for vault should be zero
let max_premium_for_vault = VaultRegistryPallet::get_vault_max_premium_redeem(&vault_id).unwrap();
Expand Down

0 comments on commit be533c3

Please sign in to comment.