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"); }