8000 minor #57414 [Translation]  skip tests when required intl extension i… · symfony/symfony@916718c · GitHub
[go: up one dir, main page]

Skip to content

Commit 916718c

Browse files
committed
minor #57414 [Translation]  skip tests when required intl extension is not installed (xabbuh)
This PR was merged into the 7.2 branch. Discussion ---------- [Translation]  skip tests when required intl extension is not installed | Q | A | ------------- | --- | Branch? | 7.2 | Bug fix? | no | New feature? | no | Deprecations? | no | Issues | | License | MIT Commits ------- 571cf1c skip tests when required intl extension is not installed
2 parents 62fcf93 + 571cf1c commit 916718c

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

src/Symfony/Component/Translation/Tests/Command/TranslationLintCommandTest.php

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

2222
final class TranslationLintCommandTest extends TestCase
2323
{
24+
/**
25+
* @requires extension intl
26+
*/
2427
public function testLintCorrectTranslations()
2528
{
2629
$translator = new Translator('en');
@@ -59,6 +62,9 @@ public function testLintCorrectTranslations()
5962
$this->assertStringContainsString('[OK] All translations are valid.', $display);
6063
}
6164

65+
/**
66+
* @requires extension intl
67+
*/
6268
public function testLintMalformedIcuTranslations()
6369
{
6470
$translator = new Translator('en');

0 commit comments

Comments
 (0)
0