• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

raystack / frontier / 19917657651 / 1
38%
main: 38%

Build:
Build:
LAST BUILD BRANCH: feat/webhook-bridge-http-handler
DEFAULT BRANCH: main
Ran 04 Dec 2025 04:30AM UTC
Files 317
Run time 8s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

04 Dec 2025 04:26AM UTC coverage: 37.645% (+0.001%) from 37.644%
19917657651.1

Pull #1312

github

whoAbhishekSah
test: update unit tests for billing entitlement and usage handlers

Update tests to work with new implementation that always infers billing_id from org_id:

CheckFeatureEntitlement tests:
- Add customerService mock with GetByOrgID expectations
- Change requests to use org_id instead of billing_id
- Add test for ErrNotFound (returns empty response)
- Add test for ErrInvalidUUID (returns invalid argument)

CreateBillingUsage tests:
- Add customerService mock with GetByOrgID expectations
- Change all requests to use org_id instead of billing_id
- All existing test cases now pass with customerService mocking

All tests pass successfully.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
Pull Request #1312: reafctor(billing): Billing simplification entitlement usage

15705 of 41719 relevant lines covered (37.64%)

10.48 hits per line

Source Files on job 19917657651.1
  • Tree
  • List 317
  • Changed 3
  • Source Changed 0
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 19917657651
  • 299b27dc on github
  • Prev Job for on billing_simplification_entitlement_usage (#19819539745.1)
  • Delete
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc