File tree Expand file tree Collapse file tree 5 files changed +5
-43
lines changed Expand file tree Collapse file tree 5 files changed +5
-43
lines changed Original file line number Diff line number Diff line change 20
20
21
21
class ValidatorCacheWarmerTest extends TestCase
22
22
{
23
- /**
24
- * @group issue-32995
25
- *
26
- * @runInSeparateProcess https://github.com/symfony/symfony/issues/32995
27
- */
28
23
public function testWarmUp ()
29
24
{
30
25
$ validatorBuilder = new ValidatorBuilder ();
Original file line number Diff line number Diff line change @@ -35,29 +35,13 @@ public function testGetHelp()
35
35
{
36
36
$ command = new XliffLintCommand ();
37
37
$ expected = <<<EOF
38
- The <info>%command.name%</info> command lints a XLIFF file and outputs to STDOUT
39
- the first encountered syntax error.
40
-
41
- You can validates XLIFF contents passed from STDIN:
42
-
43
- <info>cat filename | php %command.full_name%</info>
44
-
45
- You can also validate the syntax of a file:
46
-
47
- <info>php %command.full_name% filename</info>
48
-
49
- Or of a whole directory:
50
-
51
- <info>php %command.full_name% dirname</info>
52
- <info>php %command.full_name% dirname --format=json</info>
53
-
54
38
Or find all files in a bundle:
55
39
56
40
<info>php %command.full_name% @AcmeDemoBundle</info>
57
41
58
42
EOF ;
59
43
60
- $ this ->assertEquals ($ expected , $ command ->getHelp ());
44
+ $ this ->assertStringContainsString ($ expected , $ command ->getHelp ());
61
45
}
62
46
63
47
public function testLintFilesFromBundleDirectory ()
Original file line number Diff line number Diff line change @@ -72,29 +72,12 @@ public function testGetHelp()
72
72
{
73
73
$ command = new YamlLintCommand ();
74
74
$ expected = <<<EOF
75
- The <info>%command.name%</info> command lints a YAML file and outputs to STDOUT
76
- the first encountered syntax error.
77
-
78
- You can validates YAML contents passed from STDIN:
79
-
80
- <info>cat filename | php %command.full_name%</info>
81
-
82
- You can also validate the syntax of a file:
83
-
84
- <info>php %command.full_name% filename</info>
85
-
86
- Or of a whole directory:
87
-
88
- <info>php %command.full_name% dirname</info>
89
- <info>php %command.full_name% dirname --format=json</info>
90
-
91
75
Or find all files in a bundle:
92
76
93
77
<info>php %command.full_name% @AcmeDemoBundle</info>
94
-
95
78
EOF ;
96
79
97
- $ this ->assertEquals ($ expected , $ command ->getHelp ());
80
+ $ this ->assertStringContainsString ($ expected , $ command ->getHelp ());
98
81
}
99
82
100
83
public function testLintFilesFromBundleDirectory ()
Original file line number Diff line number Diff line change 20
20
use Symfony \Component \DependencyInjection \ContainerAwareInterface ;
21
21
use Symfony \Component \DependencyInjection \ContainerInterface ;
22
22
use Symfony \Component \HttpFoundation \Request ;
23
- use Symfony \Component \HttpKernel \Test \Controller \ContainerControllerResolverTestCase ;
23
+ use Symfony \Component \HttpKernel \Tests \Controller \ContainerControllerResolverTest ;
24
24
25
- class ControllerResolverTest extends ContainerControllerResolverTestCase
25
+ class ControllerResolverTest extends ContainerControllerResolverTest
26
26
{
27
27
public function testGetControllerOnContainerAware ()
28
28
{
Original file line number Diff line number Diff line change 23
23
"symfony/debug" : " ~4.0" ,
24
24
"symfony/dependency-injection" : " ^4.3" ,
25
25
"symfony/http-foundation" : " ^4.3" ,
26
- "symfony/http-kernel" : " ^4.3.5 " ,
26
+ "symfony/http-kernel" : " ^4.3.4 " ,
27
27
"symfony/polyfill-mbstring" : " ~1.0" ,
28
28
"symfony/filesystem" : " ~3.4|~4.0" ,
29
29
"symfony/finder" : " ~3.4|~4.0" ,
You can’t perform that action at this time.
0 commit comments