Skip to content

[Contracts] Tests: Unit Testing for create_plan and get_plan #842

Description

@ONEONUORA

Description

Write unit tests validating creation and queries in test.rs:

  • Mock env and token setup.
  • Execute create_plan with valid and invalid parameters.
  • Query using get_plan and verify struct values.

Acceptance Criteria

  • Tests compile and run successfully via cargo test.
  • Assertions cover all field mappings and token balances.

Metadata

Metadata

Assignees

Labels

Stellar WaveIssues in the Stellar wave programcontractsSmart contracts componentenhancementNew feature or request

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