Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Problem/Motivation
CountryConstraintValidatorTest extends AbstractConstraintValidatorTest which is a symfony class (Symfony\Component\Validator\Tests\Constraints\AbstractConstraintValidatorTest). However Drupal has removed tests from vendors and thus this class is not available to be extended.
Proposed resolution
Rewrite test to extend another class.
Comments
Comment #2
yanniboi CreditAttribution: yanniboi at FreelyGive commentedI've started working on this here:
https://github.com/bojanz/address/pull/29
Comment #3
bojanz CreditAttribution: bojanz at Centarro commentedLet's use Prophecy while we're at it.
Comment #4
bojanz CreditAttribution: bojanz at Centarro commentedPushed a rewrite. Thanks for getting the ball rolling, yanniboi.