File tree Expand file tree Collapse file tree 3 files changed +6
-13
lines changed
Bundle/FrameworkBundle/Tests/Fixtures/Descriptor
Component/PasswordHasher/Tests/Command Expand file tree Collapse file tree 3 files changed +6
-13
lines changed Original file line number Diff line number Diff line change 10
10
| Method | GET|HEAD |
11
11
| Requirements | name: [a-z]+ |
12
12
| Class | Symfony\Bundle\FrameworkBundle\Tests\Console\Descriptor\RouteStub |
13
- [39;49m| Defaults | _controller: [39;49m]8;;myeditor://open?file=[:file:]&line=68 \Symfony\Bundle\FrameworkBundle\Tests\Console\Descriptor\MyController::__invoke()]8;;\[39;49m |[39;49m
13
+ [39;49m| Defaults | _controller: [39;49m]8;;myeditor://open?file=[:file:]&line=58 \Symfony\Bundle\FrameworkBundle\Tests\Console\Descriptor\MyController::__invoke()]8;;\[39;49m |[39;49m
14
14
[39;49m| | [39;49mname: Joseph |
15
15
[39;49m| Options | compiler_class: Symfony\Component\Routing\RouteCompiler[39;49m[39;49m |[39;49m
16
16
[39;49m| | [39;49m[39;49mopt1: val1[39;49m[39;49m |[39;49m
Original file line number Diff line number Diff line change 10
10
| Method | PUT|POST |
11
11
| Requirements | NO CUSTOM |
12
12
| Class | Symfony\Bundle\FrameworkBundle\Tests\Console\Descriptor\RouteStub |
13
- | Defaults | _controller: ]8;;myeditor://open?file=[:file:]&line=68 \Symfony\Bundle\FrameworkBundle\Tests\Console\Descriptor\MyController::__invoke()]8;;\ |
13
+ | Defaults | _controller: ]8;;myeditor://open?file=[:file:]&line=58 \Symfony\Bundle\FrameworkBundle\Tests\Console\Descriptor\MyController::__invoke()]8;;\ |
14
14
[39;49m| Options | compiler_class: Symfony\Component\Routing\RouteCompiler[39;49m[39;49m |[39;49m
15
15
[39;49m| | [39;49m[39;49mopt1: val1[39;49m[39;49m |[39;49m
16
16
[39;49m| | [39;49mopt2: val2 |
Original file line number Diff line number Diff line change @@ -27,17 +27,6 @@ class UserPasswordHashCommandTest extends TestCase
27
27
private $ passwordHasherCommandTester ;
28
28
private $ colSize ;
29
29
30
- protected function setUp (): void
31
- {
32
- $ this ->colSize = getenv ('COLUMNS ' );
33
- putenv ('COLUMNS= ' .(119 + \strlen (\PHP_EOL )));
34
- }
35
-
36
- protected function tearDown (): void
37
- {
38
- putenv ($ this ->colSize ? 'COLUMNS= ' .$ this ->colSize : 'COLUMNS ' );
39
- }
40
-
41
30
public function testEncodePasswordEmptySalt ()
42
31
{
43
32
$ this ->passwordHasherCommandTester ->execute ([
@@ -299,6 +288,9 @@ public function testThrowsExceptionOnNoConfiguredHashers()
299
288
300
289
protected function setUp (): void
301
290
{
291
+ $ this ->colSize = getenv ('COLUMNS ' );
292
+ putenv ('COLUMNS= ' .(119 + \strlen (\PHP_EOL )));
293
+
302
294
$ hasherFactory = new PasswordHasherFactory ([
303
295
InMemoryUser::class => ['algorithm ' => 'plaintext ' ],
304
296
'Custom\Class\Native\User ' => ['algorithm ' => 'native ' , 'cost ' => 10 ],
@@ -315,6 +307,7 @@ protected function setUp(): void
315
307
protected function tearDown (): void
316
308
{
317
309
$ this ->passwordHasherCommandTester = null ;
310
+ putenv ($ this ->colSize ? 'COLUMNS= ' .$ this ->colSize : 'COLUMNS ' );
318
311
}
319
312
320
313
private function setupArgon2i ()
You can’t perform that action at this time.
0 commit comments