Commit 163144a9 authored by catch's avatar catch

Issue #2973791 by alexpott, martin107, mairi, volkerk: Fix deprecation...

Issue #2973791 by alexpott, martin107, mairi, volkerk: Fix deprecation messages related to deprecated comment Action plugins
parent 0968d287
......@@ -8,6 +8,7 @@
* Tests that node settings are properly updated during database updates.
*
* @group aggregator
* @group legacy
*/
class AggregatorUpdateTest extends UpdatePathTestBase {
......
......@@ -10,6 +10,7 @@
* @see https://www.drupal.org/node/2811519
*
* @group Update
* @group legacy
*/
class BlockConditionMissingSchemaUpdateTest extends UpdatePathTestBase {
......
......@@ -6,6 +6,7 @@
* Runs BlockContextMappingUpdateTest with a dump filled with content.
*
* @group Update
* @group legacy
*/
class BlockContextMappingUpdateFilledTest extends BlockContextMappingUpdateTest {
......
......@@ -12,6 +12,7 @@
* @see https://www.drupal.org/node/2354889
*
* @group Update
* @group legacy
*/
class BlockContextMappingUpdateTest extends UpdatePathTestBase {
......
......@@ -10,6 +10,7 @@
* @see https://www.drupal.org/node/2513534
*
* @group Update
* @group legacy
*/
class BlockRemoveDisabledRegionUpdateTest extends UpdatePathTestBase {
......
......@@ -9,6 +9,7 @@
* Tests update functions for the Block Content module.
*
* @group Update
* @group legacy
*/
class BlockContentUpdateTest extends UpdatePathTestBase {
......
......@@ -10,6 +10,7 @@
* @see comment_post_update_enable_comment_admin_view()
*
* @group Update
* @group legacy
*/
class CommentAdminViewUpdateTest extends UpdatePathTestBase {
......
......@@ -9,6 +9,7 @@
* Tests that comment hostname settings are properly updated.
*
* @group comment
* @group legacy
*/
class CommentHostnameUpdateTest extends UpdatePathTestBase {
......
......@@ -8,6 +8,7 @@
* Tests that comment settings are properly updated during database updates.
*
* @group comment
* @group legacy
*/
class CommentUpdateTest extends UpdatePathTestBase {
......
......@@ -8,6 +8,7 @@
* Tests contact update path.
*
* @group contact
* @group legacy
*/
class ContactUpdateTest extends UpdatePathTestBase {
......
......@@ -9,6 +9,7 @@
* Test updating the ContentModerationState entity default revisions.
*
* @group Update
* @group legacy
* @see content_moderation_post_update_update_cms_default_revisions
*/
class DefaultContentModerationStateRevisionUpdateTest extends UpdatePathTestBase {
......
......@@ -10,6 +10,7 @@
* Tests the upgrade path for the Content Translation module.
*
* @group Update
* @group legacy
*/
class ContentTranslationUpdateTest extends UpdatePathTestBase {
......
......@@ -12,6 +12,7 @@
* @see dblog_update_8400()
*
* @group Update
* @group legacy
*/
class DblogFiltersAndFieldsUpgradeTest extends UpdatePathTestBase {
......
......@@ -11,6 +11,7 @@
* @see dblog_update_8600()
*
* @group Update
* @group legacy
*/
class DblogNoLogsAvailableUpgradeTest extends UpdatePathTestBase {
......
......@@ -8,6 +8,7 @@
* Ensures that update hook that creates the watchdog view ran sucessfully.
*
* @group Update
* @group legacy
*/
class DblogRecentLogsUsingViewsUpdateTest extends UpdatePathTestBase {
......
......@@ -8,6 +8,7 @@
* Tests Editor module database updates.
*
* @group editor
* @group legacy
*/
class EditorUpdateTest extends UpdatePathTestBase {
......
......@@ -8,6 +8,7 @@
* Tests the update for the 'size' setting of the 'email_default' field widget.
*
* @group field
* @group legacy
*/
class EmailWidgetSizeSettingUpdateTest extends UpdatePathTestBase {
......
......@@ -8,6 +8,7 @@
* Tests the update for the entity reference 'handler' setting.
*
* @group field
* @group legacy
*/
class EntityReferenceHandlerSettingUpdateTest extends UpdatePathTestBase {
......
......@@ -14,6 +14,7 @@
* Tests that field settings are properly updated during database updates.
*
* @group field
* @group legacy
*/
class FieldUpdateTest extends UpdatePathTestBase {
......
......@@ -7,7 +7,7 @@
/**
* Tests File update path.
*
* @group file
* @group legacy
*/
class FileUpdateTest extends UpdatePathTestBase {
......
......@@ -10,6 +10,7 @@
* @see https://www.drupal.org/node/2801777
*
* @group Update
* @group legacy
*/
class FileUsageTemporaryDeletionConfigurationUpdateTest extends UpdatePathTestBase {
......
......@@ -10,6 +10,7 @@
* @see https://www.drupal.org/node/2758897
*
* @group hal
* @group legacy
*/
class CreateHalSettingsForLinkDomainUpdateTest extends UpdatePathTestBase {
......
......@@ -10,6 +10,7 @@
* @see https://www.drupal.org/node/2758897
*
* @group hal
* @group legacy
*/
class MigrateLinkDomainSettingFromRestToHalUpdateTest extends UpdatePathTestBase {
......
......@@ -8,6 +8,7 @@
* Tests Image update path.
*
* @group image
* @group legacy
*/
class ImageUpdateTest extends UpdatePathTestBase {
......
......@@ -10,6 +10,7 @@
* @see image_post_update_scale_and_crop_effect_add_anchor()
*
* @group Update
* @group legacy
*/
class ScaleAndCropAddAnchorUpdateTest extends UpdatePathTestBase {
......
......@@ -9,6 +9,7 @@
* Tests the update path for the language_select widget.
*
* @group Update
* @group legacy
*/
class LanguageSelectWidgetUpdateTest extends UpdatePathTestBase {
......
......@@ -9,6 +9,7 @@
* Tests the upgrade path for Layout Builder section dependencies.
*
* @group layout_builder
* @group legacy
*/
class SectionDependenciesUpdatePathTest extends UpdatePathTestBase {
......
......@@ -9,6 +9,7 @@
* Tests that media settings are properly updated during database updates.
*
* @group media
* @group legacy
*/
class MediaUpdateTest extends UpdatePathTestBase {
......
......@@ -10,6 +10,7 @@
*
* @group menu_link_content
* @group Update
* @group legacy
*/
class MenuLinkContentUpdateTest extends UpdatePathTestBase {
......
......@@ -9,6 +9,7 @@
* Tests that node settings are properly updated during database updates.
*
* @group node
* @group legacy
*/
class NodeUpdateTest extends UpdatePathTestBase {
......
......@@ -10,6 +10,7 @@
* Tests responsive image module updates.
*
* @group responsive_image
* @group legacy
*/
class ResponsiveImageUpdateTest extends UpdatePathTestBase {
......
......@@ -7,7 +7,7 @@
/**
* Ensures that update hook is run properly for REST Export config.
*
* @group Update
* @group legacy
*/
class RestExportAuthCorrectionUpdateTest extends UpdatePathTestBase {
......
......@@ -10,6 +10,7 @@
* @see https://www.drupal.org/node/2664780
*
* @group rest
* @group legacy
*/
class EntityResourcePermissionsUpdateTest extends UpdatePathTestBase {
......
......@@ -11,6 +11,7 @@
* @see rest_post_update_resource_granularity()
*
* @group rest
* @group legacy
*/
class ResourceGranularityUpdateTest extends UpdatePathTestBase {
......
......@@ -13,6 +13,7 @@
* @see rest_post_update_create_rest_resource_config_entities()
*
* @group rest
* @group legacy
*/
class RestConfigurationEntitiesUpdateTest extends UpdatePathTestBase {
......
......@@ -8,6 +8,7 @@
* Ensures that update hook is run properly for REST Export config.
*
* @group Update
* @group legacy
*/
class RestExportAuthUpdateTest extends UpdatePathTestBase {
......
......@@ -698,7 +698,8 @@ protected function curlHeaderCallback($curlHandler, $header) {
if ($parameters[1] === 'User deprecated function') {
if (getenv('SYMFONY_DEPRECATIONS_HELPER') !== 'disabled') {
$message = (string) $parameters[0];
if (!in_array($message, DeprecationListenerTrait::getSkippedDeprecations())) {
$test_info = TestDiscovery::getTestInfo(get_called_class());
if ($test_info['group'] !== 'legacy' && !in_array($message, DeprecationListenerTrait::getSkippedDeprecations())) {
call_user_func_array([&$this, 'error'], $parameters);
}
}
......
......@@ -8,6 +8,7 @@
* Tests that syslog settings are properly updated during database updates.
*
* @group syslog
* @group legacy
*/
class SyslogUpdateTest extends UpdatePathTestBase {
......
......@@ -6,6 +6,7 @@
* Runs LangcodeToAsciiUpdateTest with a dump filled with content.
*
* @group Entity
* @group legacy
*/
class LangcodeToAsciiUpdateFilledTest extends LangcodeToAsciiUpdateTest {
......
......@@ -9,6 +9,7 @@
* Tests that the entity langcode fields have been updated to varchar_ascii.
*
* @group Entity
* @group legacy
*/
class LangcodeToAsciiUpdateTest extends UpdatePathTestBase {
......
......@@ -10,6 +10,7 @@
* Tests the upgrade path for moving the revision metadata fields.
*
* @group Update
* @group legacy
*/
class MoveRevisionMetadataFieldsUpdateTest extends UpdatePathTestBase {
......
......@@ -7,6 +7,7 @@
*
* @group Entity
* @group Update
* @group legacy
*/
class SqlContentEntityStorageSchemaConverterNonTranslatableTest extends SqlContentEntityStorageSchemaConverterTestBase {
......
......@@ -9,6 +9,7 @@
*
* @group Entity
* @group Update
* @group legacy
*/
class SqlContentEntityStorageSchemaConverterTranslatableTest extends SqlContentEntityStorageSchemaConverterTestBase {
......
......@@ -6,6 +6,7 @@
* Runs SqlContentEntityStorageSchemaIndexTest with a dump filled with content.
*
* @group Entity
* @group legacy
*/
class SqlContentEntityStorageSchemaIndexFilledTest extends SqlContentEntityStorageSchemaIndexTest {
......
......@@ -8,6 +8,7 @@
* Tests that a newly-added index is properly created during database updates.
*
* @group Entity
* @group legacy
*/
class SqlContentEntityStorageSchemaIndexTest extends UpdatePathTestBase {
......
......@@ -8,6 +8,7 @@
* Ensures that the automated cron module is installed on update.
*
* @group Update
* @group legacy
*/
class AutomatedCronUpdateWithAutomatedCronTest extends UpdatePathTestBase {
......
......@@ -8,6 +8,7 @@
* Ensures that the automated cron module is not installed on update.
*
* @group Update
* @group legacy
*/
class AutomatedCronUpdateWithoutAutomatedCronTest extends UpdatePathTestBase {
......
......@@ -10,6 +10,7 @@
* @see system_update_8200()
*
* @group Update
* @group legacy
*/
class ConfigOverridesUpdateTest extends UpdatePathTestBase {
......
......@@ -11,6 +11,7 @@
* @see https://www.drupal.org/project/drupal/issues/2891215
*
* @group Update
* @group legacy
*/
class EntityUpdateAddRevisionDefaultTest extends UpdatePathTestBase {
......
......@@ -11,6 +11,7 @@
* @see https://www.drupal.org/node/2896845
*
* @group Update
* @group legacy
*/
class EntityUpdateAddRevisionTranslationAffectedTest extends UpdatePathTestBase {
......
......@@ -10,6 +10,7 @@
* @see https://www.drupal.org/project/drupal/issues/2925550
*
* @group Update
* @group legacy
*/
class EntityUpdateInitialTest extends UpdatePathTestBase {
......
......@@ -12,6 +12,7 @@
* @see https://www.drupal.org/node/2841291
*
* @group Update
* @group legacy
*/
class EntityUpdateToRevisionableAndPublishableTest extends UpdatePathTestBase {
......
......@@ -10,6 +10,7 @@
* @see https://www.drupal.org/node/2573667
*
* @group Update
* @group legacy
*/
class FieldSchemaDataUninstallUpdateTest extends UpdatePathTestBase {
......
......@@ -9,6 +9,7 @@
* Tests that the allowed html configutations are updated with attributes.
*
* @group Entity
* @group legacy
*/
class FilterHtmlUpdateTest extends UpdatePathTestBase {
......
......@@ -11,6 +11,7 @@
* @see https://www.drupal.org/node/507488
*
* @group system
* @group legacy
*/
class LocalActionsAndTasksConvertedIntoBlocksUpdateTest extends UpdatePathTestBase {
......
......@@ -6,6 +6,7 @@
* Runs MenuTreeSerializationTitleTest with a dump filled with content.
*
* @group Update
* @group legacy
*/
class MenuTreeSerializationTitleFilledTest extends MenuTreeSerializationTitleTest {
......
......@@ -9,6 +9,7 @@
* Tests system_update_8001().
*
* @group Update
* @group legacy
*/
class MenuTreeSerializationTitleTest extends UpdatePathTestBase {
......
......@@ -11,6 +11,7 @@
* @see https://www.drupal.org/node/2476947
*
* @group system
* @group legacy
*/
class PageTitleConvertedIntoBlockUpdateTest extends UpdatePathTestBase {
......
......@@ -8,6 +8,7 @@
* Tests system_post_update_recalculate_dependencies_for_installed_config_entities().
*
* @group Update
* @group legacy
*/
class RecalculatedDependencyTest extends UpdatePathTestBase {
......
......@@ -8,6 +8,7 @@
* Ensures that response.gzip is removed from system.performance configuration.
*
* @group Update
* @group legacy
*/
class RemoveResponseGzipFromSystemPerformanceConfigurationTest extends UpdatePathTestBase {
......
......@@ -6,6 +6,7 @@
* Runs RouterIndexOptimizationTest with a dump filled with content.
*
* @group Update
* @group legacy
*/
class RouterIndexOptimizationFilledTest extends RouterIndexOptimizationTest {
......
......@@ -8,6 +8,7 @@
* Tests system_update_8002().
*
* @group Update
* @group legacy
*/
class RouterIndexOptimizationTest extends UpdatePathTestBase {
......
......@@ -10,6 +10,7 @@
* @see https://www.drupal.org/node/2569529
*
* @group system
* @group legacy
*/
class SevenSecondaryLocalTasksConvertedIntoBlockUpdateTest extends UpdatePathTestBase {
......
......@@ -8,6 +8,7 @@
* Tests the upgrade path for page site variables being converted into a block.
*
* @group system
* @group legacy
*/
class SiteBrandingConvertedIntoBlockUpdateTest extends UpdatePathTestBase {
......
......@@ -10,6 +10,7 @@
* @see https://www.drupal.org/node/2575421
*
* @group system
* @group legacy
*/
class StableBaseThemeUpdateTest extends UpdatePathTestBase {
......
......@@ -9,6 +9,7 @@
* Tests upgrading comment and node actions to generic entity ones.
*
* @group Update
* @group legacy
*/
class UpdateActionsWithEntityPluginsTest extends UpdatePathTestBase {
......
......@@ -10,6 +10,7 @@
* Tests updates for entity displays.
*
* @group Update
* @group legacy
*/
class UpdateEntityDisplayTest extends UpdatePathTestBase {
......
......@@ -10,6 +10,7 @@
* Runs UpdatePathTestBaseTest with a RC1 dump filled with content.
*
* @group Update
* @group legacy
*/
class UpdatePathRC1TestBaseFilledTest extends UpdatePathRC1TestBaseTest {
......
......@@ -9,6 +9,7 @@
* Tests the update path base class with the RC1 database dump.
*
* @group Update
* @group legacy
*/
class UpdatePathRC1TestBaseTest extends UpdatePathTestBase {
......
......@@ -11,6 +11,7 @@
* Runs UpdatePathTestBaseTest with a dump filled with content.
*
* @group Update
* @group legacy
*/
class UpdatePathTestBaseFilledTest extends UpdatePathTestBaseTest {
......
......@@ -8,6 +8,7 @@
* Tests the presence of JavaScript at update.php.
*
* @group Update
* @group legacy
*/
class UpdatePathTestJavaScriptTest extends UpdatePathTestBase {
......
......@@ -6,6 +6,7 @@
* Runs UpdatePathWithBrokenRoutingTest with a dump filled with content.
*
* @group Update
* @group legacy
*/
class UpdatePathWithBrokenRoutingFilledTest extends UpdatePathWithBrokenRoutingTest {
......
......@@ -8,6 +8,7 @@
* Tests the update path with a broken router.
*
* @group Update
* @group legacy
*/
class UpdatePathWithBrokenRoutingTest extends UpdatePathTestBase {
......
......@@ -8,6 +8,7 @@
* Tests hook_post_update() when there are failing update hooks.
*
* @group Update
* @group legacy
*/
class UpdatePostUpdateFailingTest extends UpdatePathTestBase {
......
......@@ -9,6 +9,7 @@
* Tests hook_post_update().
*
* @group Update
* @group legacy
*/
class UpdatePostUpdateTest extends UpdatePathTestBase {
......