diff --git a/core/modules/user/tests/src/Functional/UserLoginTest.php b/core/modules/user/tests/src/Functional/UserLoginTest.php index 4e2c534bf64fe67c65ec28a5f65fae9bcf610c25..7dbbf6a4fae743b612a800edd52b5286783f8d01 100644 --- a/core/modules/user/tests/src/Functional/UserLoginTest.php +++ b/core/modules/user/tests/src/Functional/UserLoginTest.php @@ -19,11 +19,9 @@ class UserLoginTest extends BrowserTestBase { protected $defaultTheme = 'stark'; /** - * Modules to install. - * - * @var array + * {@inheritdoc} */ - public static $modules = ['dblog']; + protected static $modules = ['dblog']; /** * Tests login with destination. diff --git a/core/modules/user/tests/src/Kernel/Controller/UserAuthenticationControllerTest.php b/core/modules/user/tests/src/Kernel/Controller/UserAuthenticationControllerTest.php index b3c941cef155d30e67a1250d45f0ea5d2a07820b..23bdc6c8810210411d9078fc302f5bc3b20faddd 100644 --- a/core/modules/user/tests/src/Kernel/Controller/UserAuthenticationControllerTest.php +++ b/core/modules/user/tests/src/Kernel/Controller/UserAuthenticationControllerTest.php @@ -21,7 +21,7 @@ class UserAuthenticationControllerTest extends KernelTestBase { /** * {@inheritdoc} */ - public static $modules = ['user']; + protected static $modules = ['user']; /** * @group legacy diff --git a/core/modules/user/tests/src/Kernel/Form/UserLoginFormTest.php b/core/modules/user/tests/src/Kernel/Form/UserLoginFormTest.php index 7737433d49bd285be3f63683110137ec81014256..5e9bf65de93d711e4c34caf8772a5d2b1188ba93 100644 --- a/core/modules/user/tests/src/Kernel/Form/UserLoginFormTest.php +++ b/core/modules/user/tests/src/Kernel/Form/UserLoginFormTest.php @@ -18,7 +18,7 @@ class UserLoginFormTest extends KernelTestBase { /** * {@inheritdoc} */ - public static $modules = ['user']; + protected static $modules = ['user']; /** * @group legacy