KamoCRM

Wire the accept-gate mock into the FFA spend test

Testkamo-shared-library
Shipped
3 செப்டம்பர், 2026 அன்று 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?

All of it arrives in your workspace on its own. Start on the free plan and read this page again in a month.

Start Free ForeverView Pricing