Closed (fixed)
Project:
Custom Elements
Version:
3.x-dev
Component:
Code
Priority:
Major
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
6 Nov 2025 at 11:06 UTC
Updated:
12 Dec 2025 at 15:39 UTC
Jump to comment: Most recent
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.txtStart 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 #2
fagoComment #5
fago