Problem/Motivation
\Drupal\Tests\jsonapi\Functional\ResourceTestBase::resaveEntity() can trigger deprecations on PHP 8.5 when it tries to reload an entity with a NULL ID.
Steps to reproduce
Run \Drupal\Tests\contact\Functional\Jsonapi\MessageTest
Proposed resolution
Don't do this.
Remaining tasks
User interface changes
None
Introduced terminology
N/a
API changes
None
Data model changes
None
Release notes snippet
N/a
Issue fork drupal-3557584
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
Comment #2
alexpottComment #5
andypostpolishing and rebase
Comment #6
catchCommitted/pushed to 11.x and cherry-picked to 11.3.x, thanks!