Skip to content

Commit

Permalink
test(runtime): fix incorrect runtime references in tests
Browse files Browse the repository at this point in the history
  • Loading branch information
TarekkMA committed Jan 9, 2025
1 parent 213b022 commit 58bca06
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions runtime/moonbase/tests/integration_test.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2797,12 +2797,12 @@ fn substrate_based_fees_zero_txn_costs_only_base_extrinsic() {
#[test]
fn deal_with_fees_handles_tip() {
use frame_support::traits::OnUnbalanced;
use moonriver_runtime::{DealWithSubstrateFeesAndTip, Treasury};
use moonbase_runtime::{DealWithSubstrateFeesAndTip, Treasury};

ExtBuilder::default().build().execute_with(|| {
set_parachain_inherent_data();
// This test validates the functionality of the `DealWithSubstrateFeesAndTip` trait implementation
// in the Moonriver runtime. It verifies that:
// in the Moonbeam runtime. It verifies that:
// - The correct proportion of the fee is sent to the treasury.
// - The remaining fee is burned (removed from the total supply).
// - The entire tip is sent to the block author.
Expand Down
4 changes: 2 additions & 2 deletions runtime/moonbeam/tests/integration_test.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2618,12 +2618,12 @@ fn removed_precompiles() {
#[test]
fn deal_with_fees_handles_tip() {
use frame_support::traits::OnUnbalanced;
use moonriver_runtime::{DealWithSubstrateFeesAndTip, Treasury};
use moonbeam_runtime::{DealWithSubstrateFeesAndTip, Treasury};

ExtBuilder::default().build().execute_with(|| {
set_parachain_inherent_data();
// This test validates the functionality of the `DealWithSubstrateFeesAndTip` trait implementation
// in the Moonriver runtime. It verifies that:
// in the Moonbeam runtime. It verifies that:
// - The correct proportion of the fee is sent to the treasury.
// - The remaining fee is burned (removed from the total supply).
// - The entire tip is sent to the block author.
Expand Down

0 comments on commit 58bca06

Please sign in to comment.