Skip to content

Add tests for submit_invoices_batch with mixed valid/invalid #480

Description

@Levi-Ojukwu

Description:

The batch submission function needs tests for edge cases.

Why it matters: Batch operations have complex validation logic that needs testing.

Acceptance Criteria:

  • Test batch with all valid invoices
  • Test batch rejection when size > 10
  • Test batch with some invalid invoices (should fail entirely)
  • Test referral tracking across batch

Relevant Files: contracts/invoice_liquidity/src/tests_new_features.rs


Metadata

Metadata

Assignees

Labels

Stellar WaveIssues in the Stellar wave program

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions