Part of #25 (contract test-coverage push).
profile
How to test
- Reuse the crate's
tests/common.rs harness; add tests/reputation.rs + a one-line mod reputation; in tests/mod.rs.
- Template:
contracts/profile/src/tests/admin.rs.
- Run
cargo test -p boundless-profile, then cargo test --all before the PR.
Acceptance criteria
Part of #25 (contract test-coverage push).
profile
How to test
tests/common.rsharness; addtests/reputation.rs+ a one-linemod reputation;intests/mod.rs.contracts/profile/src/tests/admin.rs.cargo test -p boundless-profile, thencargo test --allbefore the PR.Acceptance criteria
tests/reputation.rscovering every function in scope.Errorvariant + edge cases + auth-rejection (+ idempotency where relevant).cargo test --allpasses; PR links this issue.