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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy