Skip to content

Commit

Permalink
fix benchmark tests
Browse files Browse the repository at this point in the history
  • Loading branch information
brenzi committed Feb 27, 2024
1 parent a725c17 commit 9d947e9
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions ceremonies/src/benchmarking.rs
Original file line number Diff line number Diff line change
Expand Up @@ -221,7 +221,7 @@ benchmarks! {
assert_eq!(ReputableCount::<T>::get((cid, cindex)), 1);
assert_eq!(
Pallet::<T>::participant_reputation((cid, cindex - 1), zoran_account),
Reputation::VerifiedLinked
Reputation::VerifiedLinked(cindex)
);
}

Expand All @@ -246,7 +246,7 @@ benchmarks! {
assert_eq!(NewbieCount::<T>::get((cid, cindex)), 0);
assert_eq!(
Pallet::<T>::participant_reputation((cid, cindex - 1), zoran_account),
Reputation::VerifiedLinked
Reputation::VerifiedLinked(cindex)
);
}

Expand All @@ -267,7 +267,7 @@ benchmarks! {
assert_eq!(ReputableCount::<T>::get((cid, cindex)), 1);
assert_eq!(
Pallet::<T>::participant_reputation((cid, cindex - 1), &zoran_account),
Reputation::VerifiedLinked
Reputation::VerifiedLinked(cindex)
);
}: _(RawOrigin::Signed(zoran_account.clone()), cid, Some((cid, cindex - 1)))
verify {
Expand Down

0 comments on commit 9d947e9

Please sign in to comment.