diff --git a/core/modules/user/src/Tests/UserFieldsTest.php b/core/modules/user/src/Tests/UserFieldsTest.php index e32d6a9..f698937 100644 --- a/core/modules/user/src/Tests/UserFieldsTest.php +++ b/core/modules/user/src/Tests/UserFieldsTest.php @@ -22,7 +22,7 @@ class UserFieldsTest extends KernelTestBase { * * @var array */ - public static $modules = array('user', 'system'); + public static $modules = ['user', 'system']; /** * {@inheritdoc} @@ -51,6 +51,6 @@ function testUserFields() { $output = \Drupal::service('renderer')->render($build); $this->setRawContent($output); $userEmail = $user->getEmail(); - $this->assertText($userEmail, 'User\'s mail field is found in the twig template'); + $this->assertText($userEmail, "User's mail field is found in the twig template"); } }