dépôts
/
lhc
/
web
/
wiklou.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge "Add BeforeResetNotificationTimestamp hook"
[lhc/web/wiklou.git]
/
tests
/
phpunit
/
includes
/
password
/
PasswordPolicyChecksTest.php
diff --git
a/tests/phpunit/includes/password/PasswordPolicyChecksTest.php
b/tests/phpunit/includes/password/PasswordPolicyChecksTest.php
index
215201e
..
457030f
100644
(file)
--- a/
tests/phpunit/includes/password/PasswordPolicyChecksTest.php
+++ b/
tests/phpunit/includes/password/PasswordPolicyChecksTest.php
@@
-148,6
+148,7
@@
class PasswordPolicyChecksTest extends MediaWikiTestCase {
*/
public function testCheckPopularPasswordBlacklist( $expected, $password ) {
global $IP;
*/
public function testCheckPopularPasswordBlacklist( $expected, $password ) {
global $IP;
+ $this->hideDeprecated( 'PasswordPolicyChecks::checkPopularPasswordBlacklist' );
$this->setMwGlobals( [
'wgSitename' => 'sitename',
'wgPopularPasswordFile' => "$IP/includes/password/commonpasswords.cdb"
$this->setMwGlobals( [
'wgSitename' => 'sitename',
'wgPopularPasswordFile' => "$IP/includes/password/commonpasswords.cdb"
@@
-180,6
+181,7
@@
class PasswordPolicyChecksTest extends MediaWikiTestCase {
/**
* Verify that all password policy description messages actually exist.
* Messages used on Special:PasswordPolicies
/**
* Verify that all password policy description messages actually exist.
* Messages used on Special:PasswordPolicies
+ * @coversNothing
*/
public function testPasswordPolicyDescriptionsExist() {
global $wgPasswordPolicy;
*/
public function testPasswordPolicyDescriptionsExist() {
global $wgPasswordPolicy;