Skip to content

update#878

Merged
mftee merged 1 commit into
CodeGirlsInc:mainfrom
lynaDev2:feat/fe-32-nextjs-perf-hardening
Jun 28, 2026
Merged

update#878
mftee merged 1 commit into
CodeGirlsInc:mainfrom
lynaDev2:feat/fe-32-nextjs-perf-hardening

Conversation

@lynaDev2

Copy link
Copy Markdown
Contributor

Summary
Adds integration test coverage for three previously untested endpoints, preventing silent regressions on core document anchoring flows.

Changes

  • `contract/tests/submit_tests.rs` — 6 tests for `POST /submit` (CT-16)
  • `contract/tests/revoke_tests.rs` — 6 tests for `POST /revoke` (CT-17)
  • `contract/tests/transfer_tests.rs` — 7 tests for `POST /transfer` (CT-18)

Test Coverage

Each test file covers:

  • Valid request returns 200 with expected response shape
  • Invalid hash format returns 400 with descriptive error
  • Empty/missing required fields return 400
  • Duplicate/conflict scenarios return 409
  • Stellar client failure returns 500

Stack

  • `axum-test` for HTTP layer testing
  • `httpmock` for mocking external dependencies
  • `InMemoryCache` for isolated, stateless test state

Closes #548
Closes #549
Closes #550

@vercel

vercel Bot commented Jun 28, 2026

Copy link
Copy Markdown
Contributor

@lynaDev2 is attempting to deploy a commit to the Mftee's projects Team on Vercel.

A member of the Team first needs to authorize it.

@drips-wave

drips-wave Bot commented Jun 28, 2026

Copy link
Copy Markdown

@lynaDev2 Great news! 🎉 Based on an automated assessment of this PR, the linked Wave issue(s) no longer count against your application limits.

You can now already apply to more issues while waiting for a review of this PR. Keep up the great work! 🚀

Learn more about application limits

@mftee mftee merged commit e9f85f8 into CodeGirlsInc:main Jun 28, 2026
1 of 5 checks 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

2 participants