From 1377942114c96f9d0a03101493d09456faa49481 Mon Sep 17 00:00:00 2001 From: haerdib Date: Mon, 16 Sep 2024 08:30:15 +0200 Subject: [PATCH] fix author test --- testing/async/examples/author_tests.rs | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/testing/async/examples/author_tests.rs b/testing/async/examples/author_tests.rs index 5dfd43df5..585495af5 100644 --- a/testing/async/examples/author_tests.rs +++ b/testing/async/examples/author_tests.rs @@ -187,12 +187,12 @@ fn assert_associated_events_match_expected(events: Vec>) { assert_eq!(events[2].pallet_name(), "Balances"); assert_eq!(events[2].variant_name(), "Deposit"); - assert_eq!(events[4].pallet_name(), "Balances"); - assert_eq!(events[4].variant_name(), "Deposit"); + assert_eq!(events[3].pallet_name(), "Balances"); + assert_eq!(events[3].variant_name(), "Deposit"); - assert_eq!(events[5].pallet_name(), "TransactionPayment"); - assert_eq!(events[5].variant_name(), "TransactionFeePaid"); + assert_eq!(events[4].pallet_name(), "TransactionPayment"); + assert_eq!(events[4].variant_name(), "TransactionFeePaid"); - assert_eq!(events[6].pallet_name(), "System"); - assert_eq!(events[6].variant_name(), "ExtrinsicSuccess"); + assert_eq!(events[5].pallet_name(), "System"); + assert_eq!(events[5].variant_name(), "ExtrinsicSuccess"); }