Skip to content

Commit

Permalink
fix author test
Browse files Browse the repository at this point in the history
  • Loading branch information
haerdib committed Sep 16, 2024
1 parent 1059e0c commit 1377942
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions testing/async/examples/author_tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -187,12 +187,12 @@ fn assert_associated_events_match_expected(events: Vec<RawEventDetails<Hash>>) {
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");
}

0 comments on commit 1377942

Please sign in to comment.