From 7dff868b3a8207dd5afe5db4c53061316d24ef91 Mon Sep 17 00:00:00 2001 From: Alejandro Martinez Andres <11448715+al3mart@users.noreply.github.com> Date: Tue, 5 Mar 2024 14:04:01 +0100 Subject: [PATCH] clean & rename tests --- runtime/src/extensions/ext_impl/read_state.rs | 1 - runtime/src/extensions/pop_api_extension.rs | 6 +++--- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/runtime/src/extensions/ext_impl/read_state.rs b/runtime/src/extensions/ext_impl/read_state.rs index 1281810ff..f266a1eb5 100644 --- a/runtime/src/extensions/ext_impl/read_state.rs +++ b/runtime/src/extensions/ext_impl/read_state.rs @@ -1,4 +1,3 @@ -use codec::Decode; use cumulus_primitives_core::relay_chain::BlockNumber; use frame_support::pallet_prelude::*; use log; diff --git a/runtime/src/extensions/pop_api_extension.rs b/runtime/src/extensions/pop_api_extension.rs index 46f7071c9..6a22aee24 100644 --- a/runtime/src/extensions/pop_api_extension.rs +++ b/runtime/src/extensions/pop_api_extension.rs @@ -151,7 +151,7 @@ mod tests { } #[test] - fn test_dispatch() { + fn dispatch_balance_transfer_from_contract_works() { new_test_ext().execute_with(|| { let _ = env_logger::try_init(); @@ -217,7 +217,7 @@ mod tests { } #[test] - fn test_nfts_mint() { + fn dispatch_nfts_mint_from_contract_works() { new_test_ext().execute_with(|| { let _ = env_logger::try_init(); @@ -305,7 +305,7 @@ mod tests { } #[test] - fn test_nfts_mint_surfaces_error() { + fn nfts_mint_surfaces_error() { new_test_ext().execute_with(|| { let _ = env_logger::try_init();