Problem/Motivation
PHPUnit reports deprecation errors:
The core/jquery.once asset library is deprecated in Drupal 9.3.0 and will be removed in Drupal 10.0.0. Use the core/once library instead. See https://www.drupal.org/node/3158256
The "access_check.node.revision" service is deprecated. You should use the 'access_check.entity' service instead. See https://www.drupal.org/node/3161210
NodeRevisionAccessCheck is deprecated in drupal:9.3.0 and will be removed before drupal:10.0.0. Use "_entity_access" requirement with relevant operation instead. See https://www.drupal.org/node/3161210
Checking the module's code shows that those are caused by paragraphs and diff module test dependencies.
Proposed resolution
- Expect deprecation in related test cases
Remaining tasks
- Rewrite tests to expect the mentioned deprecation
User interface changes
n/a
API changes
n/a
Data model changes
n/a
Issue fork view_mode_switch-3281813
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 #3
hctomComment #4
hctomComment #5
hctomComment #6
hctomComment #8
hctomComment #9
hctom