X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=tests%2Fphpunit%2Fincludes%2FPreferencesTest.php;h=90b6396e28f1456f522df6fa6597d939b36c40df;hb=3cb14f56bdf3271769a5866f9dcaad56bf873aea;hp=fe431b66733589a5123f5b685d54440b606bc1a0;hpb=3b651b26b14ecb57d8f77cf9427e11c7f31fc0b0;p=lhc%2Fweb%2Fwiklou.git diff --git a/tests/phpunit/includes/PreferencesTest.php b/tests/phpunit/includes/PreferencesTest.php index fe431b6673..90b6396e28 100644 --- a/tests/phpunit/includes/PreferencesTest.php +++ b/tests/phpunit/includes/PreferencesTest.php @@ -35,14 +35,14 @@ class PreferencesTest extends MediaWikiTestCase { protected function setUp() { parent::setUp(); - $this->setMwGlobals( array( + $this->setMwGlobals( [ 'wgEnableEmail' => true, 'wgEmailAuthentication' => true, - ) ); + ] ); } /** - * Placeholder to verify bug 34302 + * Placeholder to verify T36302 * @covers Preferences::profilePreferences */ public function testEmailAuthenticationFieldWhenUserHasNoEmail() { @@ -54,7 +54,7 @@ class PreferencesTest extends MediaWikiTestCase { } /** - * Placeholder to verify bug 34302 + * Placeholder to verify T36302 * @covers Preferences::profilePreferences */ public function testEmailAuthenticationFieldWhenUserEmailNotAuthenticated() { @@ -66,7 +66,7 @@ class PreferencesTest extends MediaWikiTestCase { } /** - * Placeholder to verify bug 34302 + * Placeholder to verify T36302 * @covers Preferences::profilePreferences */ public function testEmailAuthenticationFieldWhenUserEmailIsAuthenticated() { @@ -79,7 +79,7 @@ class PreferencesTest extends MediaWikiTestCase { /** Helper */ protected function prefsFor( $user_key ) { - $preferences = array(); + $preferences = []; Preferences::profilePreferences( $this->prefUsers[$user_key], $this->context,