Skip to content

test(profile): reputation — bump / slash / admin_slash #29

Description

@0xdevcollins

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

  • New tests/reputation.rs covering every function in scope.
  • Happy path + each Error variant + edge cases + auth-rejection (+ idempotency where relevant).
  • cargo test --all passes; PR links this issue.

Metadata

Metadata

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions