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 "Reuse different message in SpecialEditWatchlist"
[lhc/web/wiklou.git]
/
tests
/
phpunit
/
includes
/
password
/
LayeredParameterizedPasswordTest.php
diff --git
a/tests/phpunit/includes/password/LayeredParameterizedPasswordTest.php
b/tests/phpunit/includes/password/LayeredParameterizedPasswordTest.php
index
cf96d06
..
6a965a0
100644
(file)
--- a/
tests/phpunit/includes/password/LayeredParameterizedPasswordTest.php
+++ b/
tests/phpunit/includes/password/LayeredParameterizedPasswordTest.php
@@
-8,7
+8,7
@@
class LayeredParameterizedPasswordTest extends PasswordTestCase {
protected function getTypeConfigs() {
return [
'testLargeLayeredTop' => [
protected function getTypeConfigs() {
return [
'testLargeLayeredTop' => [
- 'class' =>
'LayeredParameterizedPassword'
,
+ 'class' =>
LayeredParameterizedPassword::class
,
'types' => [
'testLargeLayeredBottom',
'testLargeLayeredBottom',
'types' => [
'testLargeLayeredBottom',
'testLargeLayeredBottom',
@@
-18,13
+18,13
@@
class LayeredParameterizedPasswordTest extends PasswordTestCase {
],
],
'testLargeLayeredBottom' => [
],
],
'testLargeLayeredBottom' => [
- 'class' =>
'Pbkdf2Password'
,
+ 'class' =>
Pbkdf2Password::class
,
'algo' => 'sha512',
'cost' => 1024,
'length' => 512,
],
'testLargeLayeredFinal' => [
'algo' => 'sha512',
'cost' => 1024,
'length' => 512,
],
'testLargeLayeredFinal' => [
- 'class' =>
'BcryptPassword'
,
+ 'class' =>
BcryptPassword::class
,
'cost' => 5,
]
];
'cost' => 5,
]
];
@@
-35,15
+35,15
@@
class LayeredParameterizedPasswordTest extends PasswordTestCase {
}
public static function providePasswordTests() {
}
public static function providePasswordTests() {
- //
@codingStandardsIgnoreStart Generic.Files.LineLength.TooLong
+ //
phpcs:disable Generic.Files.LineLength
return [
[
true,
':testLargeLayeredTop:sha512:1024:512!sha512:1024:512!sha512:1024:512!sha512:1024:512!5!vnRy+2SrSA0fHt3dwhTP5g==!AVnwfZsAQjn+gULv7FSGjA==!xvHUX3WcpkeSn1lvjWcvBg==!It+OC/N9tu+d3ByHhuB0BQ==!Tb.gqUOiD.aWktVwHM.Q/O!7CcyMfXUPky5ptyATJsR2nq3vUqtnBC',
return [
[
true,
':testLargeLayeredTop:sha512:1024:512!sha512:1024:512!sha512:1024:512!sha512:1024:512!5!vnRy+2SrSA0fHt3dwhTP5g==!AVnwfZsAQjn+gULv7FSGjA==!xvHUX3WcpkeSn1lvjWcvBg==!It+OC/N9tu+d3ByHhuB0BQ==!Tb.gqUOiD.aWktVwHM.Q/O!7CcyMfXUPky5ptyATJsR2nq3vUqtnBC',
- 'testPassword123'
+ 'testPassword123'
],
];
],
];
- //
@codingStandardsIgnoreEnd
+ //
phpcs:enable
}
/**
}
/**