Skip to content

Commit 031f4c2

Browse files
minor #20386 [SecurityBundle] Fix term width in UserPasswordEncoderCommandTest (nicolas-grekas)
This PR was merged into the 3.1 branch. Discussion ---------- [SecurityBundle] Fix term width in UserPasswordEncoderCommandTest | Q | A | ------------- | --- | Branch? | 3.1 | Bug fix? | no | New feature? | no | BC breaks? | no | Deprecations? | no | Tests pass? | yes | Fixed tickets | - | License | MIT | Doc PR | - Commits ------- e342056 [SecurityBundle] Fix term width in UserPasswordEncoderCommandTest
2 parents cd9bbb5 + e342056 commit 031f4c2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@ protected function setUp()
144144
$kernel->boot();
145145

146146
$application = new Application($kernel);
147-
$application->setTerminalDimensions(120, 80);
147+
$application->setTerminalDimensions(119 + strlen(PHP_EOL), 80);
148148

149149
$application->add(new UserPasswordEncoderCommand());
150150
$passwordEncoderCommand = $application->find('security:encode-password');

0 commit comments

Comments
 (0)