File tree Expand file tree Collapse file tree 1 file changed +4
-11
lines changed Expand file tree Collapse file tree 1 file changed +4
-11
lines changed Original file line number Diff line number Diff line change @@ -33,17 +33,6 @@ class UserPasswordEncoderCommandTest extends AbstractWebTestCase
33
33
private $ passwordEncoderCommandTester ;
34
34
private $ colSize ;
35
35
36
- protected function setUp (): void
37
- {
38
- $ this ->colSize = getenv ('COLUMNS ' );
39
- putenv ('COLUMNS= ' .(119 + \strlen (\PHP_EOL )));
40
- }
41
-
42
- protected function tearDown (): void
43
- {
44
- putenv ($ this ->colSize ? 'COLUMNS= ' .$ this ->colSize : 'COLUMNS ' );
45
- }
46
-
47
36
public function testEncodePasswordEmptySalt ()
48
37
{
49
38
$ this ->passwordEncoderCommandTester ->execute ([
@@ -328,6 +317,9 @@ public function testThrowsExceptionOnNoConfiguredEncoders()
328
317
329
318
protected function setUp (): void
330
319
{
320
+ $ this ->colSize = getenv ('COLUMNS ' );
321
+ putenv ('COLUMNS= ' .(119 + \strlen (\PHP_EOL )));
322
+
331
323
$ kernel = $ this ->createKernel (['test_case ' => 'PasswordEncode ' ]);
332
324
$ kernel ->boot ();
333
325
@@ -341,6 +333,7 @@ protected function setUp(): void
341
333
protected function tearDown (): void
342
334
{
343
335
$ this ->passwordEncoderCommandTester = null ;
336
+ putenv ($ this ->colSize ? 'COLUMNS= ' .$ this ->colSize : 'COLUMNS ' );
344
337
}
345
338
346
339
private function setupArgon2i ()
You can’t perform that action at this time.
0 commit comments