- Issue created by @hctom
- @hctom opened merge request.
- Status changed to Fixed
almost 2 years ago 10:55am 10 February 2023
DrupalCI currently throws a deprecation error:
Testing Drupal\Tests\view_mode_switch\Kernel\ViewModeSwitchTest
Remaining self deprecation notices (1)
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: 'View' - Actual 'View'. Use assert[Not]Same() and cast objects to string instead. See https://www.drupal.org/node/3334057
1x in ViewModeSwitchTest::testGetViewModeToSwitchToRecursionDetection from Drupal\Tests\view_mode_switch\Kernel
Run 2.x-dev test with PHP 8.1 & MySQL 5.7, Drupal 10.1.x
test in DrupalCI and check logs.
Adjust test case and remove/replace deprecated code
Create a patch / issue fork
n/a
n/a
n/a
Fixed
2.0
Code