Skip to content

Commit

Permalink
fix for tests
Browse files Browse the repository at this point in the history
  • Loading branch information
samelamin committed Dec 11, 2023
1 parent 7ac64b7 commit 88dd3e5
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion pallets/disputes/src/tests/pallet_tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ fn raise_dispute_assert_event() {
specifics,
));
System::assert_last_event(RuntimeEvent::PalletDisputes(Event::<Test>::DisputeRaised {
who: ALICE,
dispute_key,
}));
});
Expand All @@ -51,7 +52,10 @@ fn raise_dispute_assert_event_too_many_disputes() {
i, ALICE, jury, specifics,
));
System::assert_last_event(RuntimeEvent::PalletDisputes(
Event::<Test>::DisputeRaised { dispute_key: i },
Event::<Test>::DisputeRaised {
who: ALICE,
dispute_key: i,
},
));
} else {
let actual_result = <PalletDisputes as DisputeRaiser<AccountId>>::raise_dispute(
Expand Down

0 comments on commit 88dd3e5

Please sign in to comment.