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

GEWIS / sudosos-backend / 30546636270
92%

Build:
DEFAULT BRANCH: develop
Ran 30 Jul 2026 01:28PM UTC
Jobs 1
Files 290
Run time 1min
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

30 Jul 2026 01:22PM UTC coverage: 92.268% (+0.02%) from 92.246%
30546636270

push

github

web-flow
fix: notify users of the amount actually deducted for inactive administrative costs (#996)

sendInactiveNotification always told users the full configured
administrativeCostValue would be deducted, even when their balance was
lower than that. The handout flow already caps the deduction to
min(balance, administrativeCostValue) and never goes negative, so a user
with a lower balance was told an amount that could never actually be
deducted (e.g. "EUR 10.00" when they only had EUR 3.00).

Extract that capping logic into a shared getDeductionAmount helper used
by both createInactiveAdministrativeCost (handout) and
sendInactiveNotification (warning), so the two mails agree on the amount.

Also fixes the template appending a redundant "euro"/"euros" after an
already-formatted currency string, e.g. "EUR 10.00 euro".

Fixes GEWIS/sudosos-backend#972

4424 of 5034 branches covered (87.88%)

Branch coverage included in aggregate %.

17 of 17 new or added lines in 3 files covered. (100.0%)

22544 of 24194 relevant lines covered (93.18%)

826.5 hits per line

Jobs
ID Job ID Ran Files Coverage
1 30546636270.1 30 Jul 2026 01:28PM UTC 290
92.27
GitHub Action Run
Source Files on build 30546636270
  • Tree
  • List 290
  • Changed 3
  • Source Changed 3
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #30546636270
  • c63332bf on github
  • Prev Build on develop (#30542519061)
  • Next Build on develop (#30548521293)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc