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

wp-graphql / wp-graphql-woocommerce / 23257465538
83%

Build:
DEFAULT BRANCH: develop
Ran 18 Mar 2026 05:21PM UTC
Jobs 1
Files 209
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

18 Mar 2026 05:13PM UTC coverage: 83.184%. Remained the same
23257465538

push

github

web-flow
fix: add authenticate flag to registerCustomer mutation (#973)

* fix: add authenticate flag to registerCustomer mutation

Adds an optional `authenticate` boolean input to the registerCustomer
mutation. When true, the mutation sets the current user and reinitializes
the session token for the newly registered customer. Defaults to false
to prevent nonce verification failures in contexts like GraphiQL that
send a nonce with the request.

Resolves #464

* test: add authenticate flag to existing register customer tests

The existing wpunit tests for registerCustomer rely on the user being
authenticated after registration to assert on customer.databaseId and
viewer.userId. Now that authenticate defaults to false, the tests must
explicitly pass authenticate: true.

* test: add authenticate flag to testCustomerMutationsWithMeta

* fix: use explicit billing emails in CustomerQueriesTest assertions

Use wildcard index matching with specific email values instead of
hardcoded node indices with NOT_NULL checks. This prevents failures
when other users in the DB shift the node positions.

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

12599 of 15146 relevant lines covered (83.18%)

76.41 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
1
86.0
-0.17% includes/mutation/class-customer-register.php
Jobs
ID Job ID Ran Files Coverage
1 23257465538.1 18 Mar 2026 05:21PM UTC 209
83.18
GitHub Action Run
Source Files on build 23257465538
  • Tree
  • List 209
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 146a4430 on github
  • Prev Build on develop (#23250379124)
  • Next Build on develop (#23266749290)
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