8000 [Translation]  skip tests when required intl extension is not installed by xabbuh · Pull Request #57414 · symfony/symfony · GitHub
[go: up one dir, main page]

Skip to content

[Translation]  skip tests when required intl extension is not installed #57414

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jun 17, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
skip tests when required intl extension is not installed
  • Loading branch information
xabbuh committed Jun 16, 2024
commit 571cf1c8026dede6994579510ecb8dc604669b13
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,9 @@

final class TranslationLintCommandTest extends TestCase
{
/**
* @requires extension intl
*/
public function testLintCorrectTranslations()
{
$translator = new Translator('en');
Expand Down Expand Up @@ -59,6 +62,9 @@ public function testLintCorrectTranslations()
$this->assertStringContainsString('[OK] All translations are valid.', $display);
}

/**
* @requires extension intl
*/
public function testLintMalformedIcuTranslations()
{
$translator = new Translator('en');
Expand Down
Loading
0