SimpleFieldProcessorTest fails since address 2.0.0

Created on 11 January 2024, 12 months ago
Updated 25 January 2024, 11 months ago

Problem/Motivation

Unit tests are failing since address module version 2.0.0:

✘ Import field value with data set "address"

│ Failed asserting that two arrays are equal.
│ --- Expected
│ +++ Actual
│ @@ @@
│ 'sorting_code' => null
│ 'address_line2' => null
│ 'additional_name' => null
│ + 'address_line3' => null
│ )
│ )

│ /var/www/html/vendor/phpunit/phpunit/src/Framework/Constraint/Equality/IsEqual.php:94
│ /var/www/html/tests/src/Kernel/FieldProcessor/FieldProcessorTestBase.php:208
│ /var/www/html/tests/src/Kernel/FieldProcessor/FieldProcessorTestBase.php:144
│ /var/www/html/vendor/phpunit/phpunit/src/Framework/TestResult.php:728

A similar error happens for export as well.

Steps to reproduce

Run PHPUnit tests with latest address module.

🐛 Bug report
Status

Fixed

Version

1.4

Component

Code

Created by

🇺🇦Ukraine abramm Lutsk

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024