Priority: Medium
Estimated Time: 30 minutes
Description:
test_submit_result_emits_event in the oracle tests verifies the event is emitted but only checks Player1Wins. No test covers Player2Wins or Draw result events.
Tasks:
- Add test for
MatchResult::Player2Wins event emission
- Add test for
MatchResult::Draw event emission
- Assert
match_id and result in event data are correct for each case
Priority: Medium
Estimated Time: 30 minutes
Description:
test_submit_result_emits_eventin the oracle tests verifies the event is emitted but only checksPlayer1Wins. No test coversPlayer2WinsorDrawresult events.Tasks:
MatchResult::Player2Winsevent emissionMatchResult::Drawevent emissionmatch_idandresultin event data are correct for each case