Problem

On 3.x a new test fail popped up, probably something changed within canvas.

_PHPUNIT_CONCURRENT=0, _PHPUNIT_TESTGROUPS=--all, _PHPUNIT_EXTRA=
PHPUNIT_OPTIONS=, WHAT_TO_RUN=
executing: sudo -u www-data -H -E vendor/bin/phpunit  --bootstrap /builds/project/custom_elements/web/core/tests/bootstrap.php /builds/project/custom_elements/web/modules/custom/custom_elements --log-junit /builds/project/custom_elements/junit.xml  
PHPUnit 11.5.43 by Sebastian Bergmann and contributors.
Runtime:       PHP 8.3.27
Configuration: /builds/project/custom_elements/phpunit.xml
.........F....................................................... 65 / 83 ( 78%)
..................                                                83 / 83 (100%)
Time: 01:40.780, Memory: 20.00 MB
There was 1 failure:
1) Drupal\Tests\custom_elements\Kernel\CanvasIntegrationTest::testCanvasFormatter
assert($referenced_entity_adapter instanceof EntityAdapter)
/builds/project/custom_elements/web/modules/contrib/canvas/src/Plugin/DataType/ComputedEntityCanonicalRelativeUrl.php:43
/builds/project/custom_elements/web/modules/contrib/canvas/src/Plugin/DataType/ComputedEntityCanonicalRelativeUrl.php:52
/builds/project/custom_elements/src/Processor/DefaultFieldItemProcessor.php:39
/builds/project/custom_elements/src/CustomElementGenerator.php:327
/builds/project/custom_elements/src/Processor/DefaultFieldItemListProcessor.php:39
/builds/project/custom_elements/src/CustomElementGenerator.php:327
/builds/project/custom_elements/src/Plugin/CustomElementsFieldFormatter/AutoCeFieldFormatter.php:59
/builds/project/custom_elements/src/CustomElementGenerator.php:302
/builds/project/custom_elements/src/CustomElementGenerator.php:262
/builds/project/custom_elements/src/CustomElementGenerator.php:205
/builds/project/custom_elements/src/CustomElementGenerator.php:178
/builds/project/custom_elements/tests/src/Kernel/CanvasIntegrationTest.php:663
FAILURES!
Tests: 83, Assertions: 1936, Failures: 1, PHPUnit Deprecations: 101.
$ cp /var/log/apache2/test.apache.access.log $CI_PROJECT_DIR/apache.access.log.txt
$ cp /var/log/apache2/test.apache.error.log $CI_PROJECT_DIR/apache.error.log.txt
Command icon Show commands

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

fago created an issue. See original summary.

fago’s picture

  • fago committed 8627174b on 3.x
    fix: #3556412 3.x-dev canvas integration test fails of today
    
    By: fago
    
fago’s picture

Status: Active » Fixed

Now that this issue is closed, review the contribution record.

As a contributor, attribute any organization that helped you, or if you volunteered your own time.

Maintainers, credit people who helped resolve this issue.

Status: Fixed » Closed (fixed)

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