Issue #3260292 by Gábor Hojtsy: Fix tests: obsolete module detection cannot be...
Issue #3260292 by Gábor Hojtsy: Fix tests: obsolete module detection cannot be tested because now Drupal blocks enabling obsolete modules; Drupal 9.3.0's release necessitated mock deprecation changes for categorization accuracy
@trigger_error("upgrade_status_test_contrib_error_function_9_to_10() is deprecated in Drupal 9.2.0 and will be removed before Drupal 10.0.0. Use the replacement instead. See LINK",E_USER_DEPRECATED);
@trigger_error("upgrade_status_test_contrib_error_function_9_to_10() is deprecated in Drupal 9.4.0 and will be removed before Drupal 10.0.0. Use the replacement instead. See LINK",E_USER_DEPRECATED);
$this->assertEquals("Call to deprecated function upgrade_status_test_contrib_error_function_9_to_10(). Deprecated in drupal:9.2.0 and is removed from drupal:10.0.0. Use the replacement instead.",$message['message']);
$this->assertEquals("Call to deprecated function upgrade_status_test_contrib_error_function_9_to_10(). Deprecated in drupal:9.4.0 and is removed from drupal:10.0.0. Use the replacement instead.",$message['message']);
$this->assertEquals("This extension is obsolete. Obsolete extensions are usually uninstalled automatically when not needed anymore. You only need to do something about this if the uninstallation was unsuccesful. See https://drupal.org/project/upgrade_status.",$file['messages'][0]['message']);