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

MITLibraries / alma-creditcardslips / 12359928606
100%
main: 100%

Build:
Build:
LAST BUILD BRANCH: v1.0.7
DEFAULT BRANCH: main
Ran 16 Dec 2024 07:34PM UTC
Jobs 1
Files 6
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

16 Dec 2024 07:29PM UTC coverage: 100.0%. Remained the same
12359928606

push

github

ghukill
Handle missing fund_distribution

Why these changes are being introduced:

PO lines were pulled from Alma where the fund_distribution node in the
object contained a fund with empty strings for values like 'amount.sum'.
This threw an error when attemping to convert to a Decimal.

Default behavior is to return '$0.00' when a price cannot be determined
from the PO line, which will extend to this scenario.

How this addresses that need:
* get_total_price_from_fund_distribution is updated to handle a fund entry
with empty strings, and treat them as '$0.00'

Side effects of this change:
* Emails will successfully generate with '$0.00' reported when the fund
distribution information is empty strings

Relevant ticket(s):
* https://mitlibraries.atlassian.net/browse/IN-1127

7 of 7 new or added lines in 1 file covered. (100.0%)

209 of 209 relevant lines covered (100.0%)

1.0 hits per line

Jobs
ID Job ID Ran Files Coverage
1 12359928606.1 16 Dec 2024 07:34PM UTC 6
100.0
GitHub Action Run
Source Files on build 12359928606
  • Tree
  • List 6
  • Changed 1
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #12359928606
  • ff18a1d4 on github
  • Prev Build on main (#10946527462)
  • 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

© 2025 Coveralls, Inc