diff --git a/core/modules/file/tests/src/Functional/FileFieldTestBase.php b/core/modules/file/tests/src/Functional/FileFieldTestBase.php index 09ea6a010d..d9ac4bd0e5 100644 --- a/core/modules/file/tests/src/Functional/FileFieldTestBase.php +++ b/core/modules/file/tests/src/Functional/FileFieldTestBase.php @@ -22,7 +22,7 @@ /** * {@inheritdoc} */ - public static $modules = ['node', 'file', 'file_module_test', 'field_ui']; + protected static $modules = ['node', 'file', 'file_module_test', 'field_ui']; /** * An user with administration permissions. diff --git a/core/modules/file/tests/src/Functional/FileFieldWidgetTest.php b/core/modules/file/tests/src/Functional/FileFieldWidgetTest.php index fe05967d10..ab9fdf1e35 100644 --- a/core/modules/file/tests/src/Functional/FileFieldWidgetTest.php +++ b/core/modules/file/tests/src/Functional/FileFieldWidgetTest.php @@ -15,8 +15,7 @@ use Drupal\user\UserInterface; /** - * Tests the file field widget, single and multi-valued, with and without AJAX, - * with public and private files. + * Tests the file field widget with public and private files. * * @group file */ @@ -28,7 +27,7 @@ class FileFieldWidgetTest extends FileFieldTestBase { /** * {@inheritdoc} */ - public static $modules = ['comment', 'block']; + protected static $modules = ['comment', 'block']; /** * {@inheritdoc} diff --git a/core/modules/file/tests/src/FunctionalJavascript/FileFieldWidgetTest.php b/core/modules/file/tests/src/FunctionalJavascript/FileFieldWidgetTest.php index b535e00549..3d4ffecd92 100644 --- a/core/modules/file/tests/src/FunctionalJavascript/FileFieldWidgetTest.php +++ b/core/modules/file/tests/src/FunctionalJavascript/FileFieldWidgetTest.php @@ -9,8 +9,7 @@ use Drupal\Tests\TestFileCreationTrait; /** - * Tests the file field widget, single and multi-valued, with and without AJAX, - * with public and private files. + * Tests the file field widget, single and multi-valued, using AJAX upload. * * @group file */