From c04f80cba0f104792b4a2b3b7adc5daa2af5bf5f Mon Sep 17 00:00:00 2001 From: Deepanshu Hooda Date: Mon, 18 Sep 2023 12:57:00 +0200 Subject: [PATCH] fix test names --- tests/integration/src/dispatch_filter.rs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/tests/integration/src/dispatch_filter.rs b/tests/integration/src/dispatch_filter.rs index 193a3991c2..f3765a45d1 100644 --- a/tests/integration/src/dispatch_filter.rs +++ b/tests/integration/src/dispatch_filter.rs @@ -20,8 +20,9 @@ use crate::setup::*; use frame_support::traits::InstanceFilter; +/// Whitelisted Calls are defined in the runtime #[test] -fn filter_accepts_batch_call_with_dappsstaking_calls() { +fn filter_accepts_batch_call_with_whitelisted_calls() { ExtBuilder::default().build().execute_with(|| { let contract = SmartContract::Evm(H160::repeat_byte(0x01)); let inner_call = RuntimeCall::DappsStaking(DappStakingCall::Call::claim_staker { @@ -68,7 +69,7 @@ fn filter_rejects_non_whitelisted_batch_calls() { } #[test] -fn filter_accepts_dappsstaking_calls() { +fn filter_accepts_whitelisted_calls() { ExtBuilder::default().build().execute_with(|| { let contract = SmartContract::Evm(H160::repeat_byte(0x01)); let stake_call = RuntimeCall::DappsStaking(DappStakingCall::Call::claim_staker {