Skip to content

Commit 20f111d

Browse files
Various fixes esp. on Windows
1 parent 22ecd3a commit 20f111d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Tests/Functional/UserPasswordEncoderCommandTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,8 @@ public function testEncodePasswordEmptySalt()
3333
'password' => 'password',
3434
'user-class' => 'Symfony\Component\Security\Core\User\User',
3535
'--empty-salt' => true,
36-
));
37-
$expected = file_get_contents(__DIR__.'/app/PasswordEncode/emptysalt.txt');
36+
), array('decorated' => false));
37+
$expected = str_replace("\n", PHP_EOL, file_get_contents(__DIR__.'/app/PasswordEncode/emptysalt.txt'));
3838

3939
$this->assertEquals($expected, $this->passwordEncoderCommandTester->getDisplay());
4040
}

0 commit comments

Comments
 (0)