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

yanniboi created an issue. See original summary.

yanniboi’s picture

I've started working on this here:
https://github.com/bojanz/address/pull/29

bojanz’s picture

Title: CountryConstraintValidatorTest extends missing class » Rewrite CountryConstraintValidatorTest

Let's use Prophecy while we're at it.

bojanz’s picture

Status: Active » Fixed

Pushed a rewrite. Thanks for getting the ball rolling, yanniboi.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.