Skip to content

Add tests for issue #8, #12, and timeout access control#668

Merged
yahia008 merged 2 commits into
StellarCheckMate:mainfrom
afurious:add-issue-8-12-timeout-tests
May 28, 2026
Merged

Add tests for issue #8, #12, and timeout access control#668
yahia008 merged 2 commits into
StellarCheckMate:mainfrom
afurious:add-issue-8-12-timeout-tests

Conversation

@afurious
Copy link
Copy Markdown
Contributor

closes #608
closes #609
closes #575
closes #570

…out access control

- test_pending_match_appears_in_get_active_matches: pending match
  (no deposits) must be present in get_active_matches index (StellarCheckMate#8)
- test_create_match_with_contract_address_as_player1_returns_invalid_players:
  contract address as player1 returns InvalidPlayers (StellarCheckMate#12)
- test_set_match_timeout_from_non_admin_returns_unauthorized: non-admin
  caller to set_match_timeout returns Unauthorized
- Add contract-address-as-player guard in create_match (lib.rs)
@drips-wave
Copy link
Copy Markdown

drips-wave Bot commented May 27, 2026

@afurious Great news! 🎉 Based on an automated assessment of this PR, the linked Wave issue(s) no longer count against your application limits.

You can now already apply to more issues while waiting for a review of this PR. Keep up the great work! 🚀

Learn more about application limits

@yahia008 yahia008 merged commit 0d7b98d into StellarCheckMate:main May 28, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

2 participants