From be533c3b7234ed2f1f13f4a22e592194288eda35 Mon Sep 17 00:00:00 2001 From: nakul1010 Date: Mon, 11 Dec 2023 12:35:56 +0530 Subject: [PATCH] fix: add missing assert statement --- parachain/runtime/runtime-tests/src/parachain/redeem.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/parachain/runtime/runtime-tests/src/parachain/redeem.rs b/parachain/runtime/runtime-tests/src/parachain/redeem.rs index 1db5c5904f..cc57063b64 100644 --- a/parachain/runtime/runtime-tests/src/parachain/redeem.rs +++ b/parachain/runtime/runtime-tests/src/parachain/redeem.rs @@ -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();