Problem/Motivation

The test does not install system schema as #3317769: Add support for linking to entities in CKEditor 5 was created before #3557167: Fix deprecations in \Drupal\Core\ImageToolkit\ImageToolkitManager::getDefaultToolkitId() due to kernel testing

Steps to reproduce

failed https://git.drupalcode.org/issue/drupal-3523596/-/jobs/7386930
fixed https://git.drupalcode.org/issue/drupal-3523596/-/jobs/7387287

    1) /builds/issue/drupal-3523596/core/lib/Drupal/Core/ImageToolkit/ImageToolkitManager.php:65
    Using null as an array offset is deprecated, use an empty string instead
    
    Triggered by:
    
    * Drupal\Tests\filter\Kernel\EntityLinksTest::testMediaEntity#0
      /builds/issue/drupal-3523596/core/modules/filter/tests/src/Kernel/EntityLinksTest.php:247
    
    * Drupal\Tests\filter\Kernel\EntityLinksTest::testMediaEntity#1
      /builds/issue/drupal-3523596/core/modules/filter/tests/src/Kernel/EntityLinksTest.php:247
    
    * Drupal\Tests\filter\Kernel\EntityLinksTest::testMediaEntity#4
      /builds/issue/drupal-3523596/core/modules/filter/tests/src/Kernel/EntityLinksTest.php:247
    
    * Drupal\Tests\filter\Kernel\EntityLinksTest::testMediaEntity#5
      /builds/issue/drupal-3523596/core/modules/filter/tests/src/Kernel/EntityLinksTest.php:247
    
    OK, but there were issues!
    Tests: 10, Assertions: 290, Deprecations: 1.

Proposed resolution

quick fix it

Remaining tasks

User interface changes

Introduced terminology

API changes

Data model changes

Release notes snippet

Issue fork drupal-3559286

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

andypost created an issue. See original summary.

andypost’s picture

Issue summary: View changes
Status: Active » Needs review
alexpott’s picture

Status: Needs review » Reviewed & tested by the community

  • catch committed 48666069 on 11.3.x
    fix: #3559286 Fix EntityLinksTest for PHP 8.5
    
    By: andypost
    (cherry...

  • catch committed 8c31239b on 11.x
    fix: #3559286 Fix EntityLinksTest for PHP 8.5
    
    By: andypost
    
catch’s picture

Version: 11.x-dev » 11.3.x-dev
Status: Reviewed & tested by the community » Fixed

Committed/pushed to 11.x and cherry-picked to 11.3.x, thanks!

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.