Skip to content

[CONTRACT] Add tests for ProposalNotFound error variant #609

Description

@dinahmaccodes

Tier: Medium

Description: Add tests for operations on non-existent proposals and validate the ProposalNotFound error.

Tasks:

  • Attempt to approve non-existent proposal
  • Attempt to execute non-existent proposal
  • Verify ProposalNotFound error (code 22)

Acceptance Criteria:

  • Non-existent proposals return correct error
  • Error variant is returned correctly
  • Existing proposals work normally

Files: contracts/shipment/src/test.rs


Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No 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