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

wp-graphql / wp-graphql-woocommerce / 23469175233
92%

Build:
DEFAULT BRANCH: develop
Ran 24 Mar 2026 01:57AM UTC
Jobs 1
Files 233
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

24 Mar 2026 01:48AM UTC coverage: 83.877% (+0.04%) from 83.84%
23469175233

push

github

web-flow
fix: coupon error handling in fillCart and applyCoupon mutations (#984)

* fix: coupon error handling in fillCart and applyCoupon mutations

- Fix validate_coupon() post ID check to only trigger for numeric codes,
  allowing invalid string codes to fall through to WooCommerce's is_valid()
  which returns consistent error messages regardless of casing
- Add fillCart coupon error tests: minimum spend validation and invalid
  coupon code errors are correctly reported in cartErrors
- Add applyCoupon casing test: error messages are consistent across
  lowercase, uppercase, and mixed case invalid coupon codes

* chore: Linter compliances met

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

14208 of 16939 relevant lines covered (83.88%)

104.99 hits per line

Jobs
ID Job ID Ran Files Coverage
1 23469175233.1 24 Mar 2026 01:57AM UTC 233
83.88
GitHub Action Run
Source Files on build 23469175233
  • Tree
  • List 233
  • Changed 2
  • Source Changed 0
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • dc4b5587 on github
  • Prev Build on develop (#23464121820)
  • Next Build on develop (#23469347586)
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