Skip to content

Commit 0ca0f46

Browse files
committed
--
1 parent e82c962 commit 0ca0f46

File tree

5 files changed

+8
-9
lines changed

5 files changed

+8
-9
lines changed

src/Symfony/Bundle/SecurityBundle/Tests/Functional/UserPasswordEncoderCommandTest.php

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ public function testEncodePasswordPasswordPlainText()
3030
'command' => 'security:encode-password',
3131
'password' => 'password',
3232
'user-class' => 'Symfony\Component\Security\Core\User\User',
33-
'salt' => 'AZERTYUIOPOfghjklytrertyuiol,nbcxdfghjkytrfghjk',
33+
'salt' => 'AZERTYUIOPOfghjklytrertyuiolnbcxdfghjkytrfghjk',
3434
));
3535
$expected = file_get_contents(__DIR__.'/app/PasswordEncode/plaintext.txt');
3636

@@ -43,9 +43,8 @@ public function testEncodePasswordBcrypt()
4343
'command' => 'security:encode-password',
4444
'password' => 'password',
4545
'user-class' => 'Custom\Class\Bcrypt\User',
46-
'salt' => 'AZERTYUIOPOfghjklytrertyuiol,nbcxdfghjkytrfghjk',
46+
'salt' => 'AZERTYUIOPOfghjklytrertyuiolnbcxdfghjkytrfghjk',
4747
));
48-
4948
$expected = file_get_contents(__DIR__.'/app/PasswordEncode/bcrypt.txt');
5049

5150
$this->assertEquals($expected, $this->passwordEncoderCommandTester->getDisplay());
@@ -57,7 +56,7 @@ public function testEncodePasswordPbkdf2()
5756
'command' => 'security:encode-password',
5857
'password' => 'password',
5958
'user-class' => 'Custom\Class\Pbkdf2\User',
60-
'salt' => 'AZERTYUIOPOfghjklytrertyuiol,nbcxdfghjkytrfghjk',
59+
'salt' => 'AZERTYUIOPOfghjklytrertyuiolnbcxdfghjkytrfghjk',
6160
));
6261

6362
$expected = file_get_contents(__DIR__.'/app/PasswordEncode/pbkdf2.txt');
@@ -73,7 +72,7 @@ public function testEncodePasswordNoConfigForGivenUserClass()
7372
'command' => 'security:encode-password',
7473
'password' => 'password',
7574
'user-class' => 'Wrong/User/Class',
76-
'salt' => 'AZERTYUIOPOfghjklytrertyuiol,nbcxdfghjkytrfghjk',
75+
'salt' => 'AZERTYUIOPOfghjklytrertyuiolnbcxdfghjkytrfghjk',
7776
));
7877
}
7978

src/Symfony/Bundle/SecurityBundle/Tests/Functional/app/PasswordEncode/bcrypt.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,5 +18,5 @@ made in your configuration file containing the security.encoders key.
1818
| Key | Value |
1919
+------------------+---------------------------------------------------------------+
2020
| Encoder used | Symfony\Component\Security\Core\Encoder\BCryptPasswordEncoder |
21-
| Encoded password | $2y$13$OTnDSjPXTSjNSC7kX0foYu11IkBdne5gtTOGR.j2TtiBGETa4gEOy |
21+
| Encoded password | $2y$13$AZERTYUIOPOfghjklytreeBTRM4Wd.D3IW7dtnQ6xGA7z3fY8zg4. |
2222
+------------------+---------------------------------------------------------------+

src/Symfony/Bundle/SecurityBundle/Tests/Functional/app/PasswordEncode/pbkdf2.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,5 +18,5 @@ made in your configuration file containing the security.encoders key.
1818
| Key | Value |
1919
+------------------+---------------------------------------------------------------+
2020
| Encoder used | Symfony\Component\Security\Core\Encoder\Pbkdf2PasswordEncoder |
21-
| Encoded password | c0lWMUreTNITAMdsvVJZgyAvpr42876VAsmipN98OEaH29oJOpYe+Q== |
21+
| Encoded password | nvGk/kUwqj6PHzmqUqXxJA6GEhxD1TSJziV8P4ThqsEi4ZHF6yHp6g== |
2222
+------------------+---------------------------------------------------------------+

src/Symfony/Bundle/SecurityBundle/Tests/Functional/app/PasswordEncode/plaintext.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,5 +18,5 @@ made in your configuration file containing the security.encoders key.
1818
| Key | Value |
1919
+------------------+------------------------------------------------------------------+
2020
| Encoder used | Symfony\Component\Security\Core\Encoder\PlaintextPasswordEncoder |
21-
| Encoded password | password{AZERTYUIOPOfghjklytrertyuiol,nbcxdfghjkytrfghjk} |
21+
| Encoded password | password{AZERTYUIOPOfghjklytrertyuiolnbcxdfghjkytrfghjk} |
2222
+------------------+------------------------------------------------------------------+

src/Symfony/Bundle/SecurityBundle/composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
"require-dev": {
2525
"symfony/phpunit-bridge": "~2.7|~3.0.0",
2626
"symfony/browser-kit": "~2.4|~3.0.0",
27-
"symfony/console": "~2.3|~3.0.0",
27+
"symfony/console": "~2.5|~3.0.0",
2828
"symfony/css-selector": "~2.0,>=2.0.5|~3.0.0",
2929
"symfony/dependency-injection": "~2.3|~3.0.0",
3030
"symfony/dom-crawler": "~2.0,>=2.0.5|~3.0.0",

0 commit comments

Comments
 (0)