Skip to content

Commit 72badbe

Browse files
Re-enable previously failing PHP 7.4 test cases
1 parent d395eb6 commit 72badbe

File tree

2 files changed

+1
-23
lines changed

2 files changed

+1
-23
lines changed

Tests/CacheWarmer/ValidatorCacheWarmerTest.php

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -21,11 +21,6 @@
2121

2222
class ValidatorCacheWarmerTest extends TestCase
2323
{
24-
/**
25-
* @group issue-32995
26-
*
27-
* @runInSeparateProcess https://github.com/symfony/symfony/issues/32995
28-
*/
2924
public function testWarmUp()
3025
{
3126
$validatorBuilder = new ValidatorBuilder();

Tests/Command/YamlLintCommandTest.php

Lines changed: 1 addition & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -72,29 +72,12 @@ public function testGetHelp()
7272
{
7373
$command = new YamlLintCommand();
7474
$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-
9175
Or find all files in a bundle:
9276
9377
<info>php %command.full_name% @AcmeDemoBundle</info>
94-
9578
EOF;
9679

97-
$this->assertEquals($expected, $command->getHelp());
80+
$this->assertStringContainsString($expected, $command->getHelp());
9881
}
9982

10083
public function testLintFilesFromBundleDirectory()

0 commit comments

Comments
 (0)