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 @@ -31,17 +31,6 @@ class UserPasswordEncoderCommandTest extends AbstractWebTestCase
31
31
private $ passwordEncoderCommandTester ;
32
32
private $ colSize ;
33
33
34
- protected function setUp (): void
35
- {
36
- $ this ->colSize = getenv ('COLUMNS ' );
37
- putenv ('COLUMNS= ' .(119 + \strlen (\PHP_EOL )));
38
- }
39
-
40
- protected function tearDown (): void
41
- {
42
- putenv ($ this ->colSize ? 'COLUMNS= ' .$ this ->colSize : 'COLUMNS ' );
43
- }
44
-
45
34
public function testEncodePasswordEmptySalt ()
46
35
{
47
36
$ this ->passwordEncoderCommandTester ->execute ([
@@ -326,6 +315,9 @@ public function testThrowsExceptionOnNoConfiguredEncoders()
326
315
327
316
protected function setUp (): void
328
317
{
318
+ $ this ->colSize = getenv ('COLUMNS ' );
319
+ putenv ('COLUMNS= ' .(119 + \strlen (\PHP_EOL )));
320
+
329
321
$ kernel = $ this ->createKernel (['test_case ' => 'PasswordEncode ' ]);
330
322
$ kernel ->boot ();
331
323
@@ -339,6 +331,7 @@ protected function setUp(): void
339
331
protected function tearDown (): void
340
332
{
341
333
$ this ->passwordEncoderCommandTester = null ;
334
+ putenv ($ this ->colSize ? 'COLUMNS= ' .$ this ->colSize : 'COLUMNS ' );
342
335
}
343
336
344
337
private function setupArgon2i ()
You can’t perform that action at this time.
0 commit comments