Wire the accept-gate mock into the FFA spend test

Testkamo-shared-library
Shipped
September 3, 2026 at 8:10 PM UTC
Author
Kamo
Commit
5c544f2

acceptNextLead consults LeadAcceptEligibilityService before it reaches any of the credit logic these cases are about, and the test builds the service by reflection rather than through Spring — so the new Docstor was null and all three cases NPE'd. Stubbed to "clear", which is the empty book every case here already assumes.

All changes

Like what you see shipping?

Every one of these updates lands in your workspace automatically. Start free and watch it grow week after week.

Start Free ForeverView Pricing