Closed (fixed)
Project:
Commerce Core
Version:
3.x-dev
Component:
Other
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
18 Feb 2026 at 18:11 UTC
Updated:
17 Apr 2026 at 18:59 UTC
Jump to comment: Most recent
Some tests are failing with the Drupal next minor release (11.4).
CheckoutOrderTest failed as the message is changed in the UserNameConstraint
CouponValidationTest failed because of changes made to constraints in #3554746: Constraint plugins must use named arguments instead of an options array
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #3
tbkot commentedComment #4
jsacksick commentedReviewed, don't really understand why overridding the message from the constructor is needed since we literally do the same for all constraints (redefine the message).
Would be great if we could get the illegal message from the constraint itself since the property is public. I believe this is cleaner than testing the Drupal version.
Comment #6
jsacksick commented