- Issue created by @ryanrobinson_wlu
When I run kernel tests, I get these self-deprecation notices:
Remaining self deprecation notices (3)
2x: Passing null to the $typedConfigManager parameter of ConfigFormBase::__construct() is deprecated in drupal:10.2.0 and must be an instance of \Drupal\Core\Config\TypedConfigManagerInterface in drupal:11.0.0. See https://www.drupal.org/node/3404140
1x in AutoEntityLabelFormTest::testFormBuild from Drupal\Tests\auto_entitylabel\Kernel
1x in AutoEntityLabelFormTest::testFormSubmit from Drupal\Tests\auto_entitylabel\Kernel
1x: Using assert[Not]Equals() to compare markup between MarkupInterface objects and plain strings is deprecated in drupal:10.1.0 and will throw an error from drupal:11.0.0. Expected: '<em class="placeholder">Content type</em>: Administer automatic entity labels' - Actual '<em class="placeholder">Content type</em>: Administer automatic entity labels'. Use assert[Not]Same() and cast objects to string instead. See https://www.drupal.org/node/3334057
1x in AutoEntityLabelPermissionControllerTest::testAutoEntityLabelPermissions from Drupal\Tests\auto_entitylabel\Kernel
These aren't urgent, but must be fixed before Drupal 11 and would be nice to have cleared in the next release before then.
Run phpunit --testsuite=kernel --group=auto_entitylabel
Followed recommended strategies to fix each of the deprecations.
Active
3.0
Code