Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
re-gius committed Nov 26, 2024
1 parent b3186b1 commit 336137a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion substrate/frame/staking/src/tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2406,7 +2406,7 @@ fn add_reward_points_fns_works() {
Pallet::<Test>::reward_by_ids(vec![(21, 1), (11, 1), (11, 1)]);

let eras_reward_points = ErasRewardPoints::<Test>::get(active_era());
assert_eq!(eras_reward_points.total, 40);
assert_eq!(eras_reward_points.total, 6);
assert_eq!(eras_reward_points.individual.get(&11), Some(&4));
assert_eq!(eras_reward_points.individual.get(&21), Some(&2));
assert_eq!(eras_reward_points.individual.keys().cloned().collect::<Vec<_>>(), [11, 21]);
Expand Down

0 comments on commit 336137a

Please sign in to comment.