Skip to content

test(creditline): add unit tests for repay_installment error paths#25

Merged
EmeditWeb merged 1 commit into
StepFi-app:mainfrom
Adeyemi-cmd:feat_Add_dedicated_tests_for_repay_installment
Jun 15, 2026
Merged

test(creditline): add unit tests for repay_installment error paths#25
EmeditWeb merged 1 commit into
StepFi-app:mainfrom
Adeyemi-cmd:feat_Add_dedicated_tests_for_repay_installment

Conversation

@Adeyemi-cmd

Copy link
Copy Markdown
Contributor

close #1

PR Description

Summary

Adds isolated unit tests for repay_installment() in the creditline
contract. Previously the function only had incidental coverage via
end-to-end flows, leaving all error paths untested.

Changes

contracts/creditline-contract/src/tests.rs

context/progress-tracker.md

  • Updated test count (93 → 98 existing + new).
  • Removed the open question about missing repay_installment tests.

Testing

  • cargo build — zero errors
  • cargo test -p creditline-contract — 101 passed, 0 failed, 4 ignored
  • No existing tests modified or weakened

@EmeditWeb EmeditWeb merged commit 1878763 into StepFi-app:main Jun 15, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[1] Add dedicated tests for repay_installment()

2 participants