Skip to content

Contract Unit Tests — RWA Mint #30

Description

@OlufunbiIK

Complexity: Medium

Problem: The RWAMint contract has no tests. Scope: Write unit tests for all methods in RWAMint covering mint, get, transfer-block, and burn scenarios.

Acceptance criteria: All tests pass with cargo test. Edge cases covered: duplicate mint, invalid owner burn, non-existent token.

Files to create:
contracts/rwa-mint/src/tests.rs
contracts/rwa-mint/tests/integration_test.rs

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Fields

    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