Skip to content

Commit d51f7f6

Browse files
committed
[Translation] [CI] Specify terminal width
1 parent a9d582d commit d51f7f6

File tree

2 files changed

+24
-0
lines changed

2 files changed

+24
-0
lines changed

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

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,18 @@
2727
*/
2828
class TranslationPullCommandTest extends TranslationProviderTestCase
2929
{
30+
protected function setUp(): void
31+
{
32+
putenv('COLUMNS=121');
33+
parent::setUp();
34+
}
35+
36+
protected function tearDown(): void
37+
{
38+
parent::tearDown();
39+
putenv('COLUMNS');
40+
}
41+
3042
public function testPullNewXlf12Messages()
3143
{
3244
$arrayLoader = new ArrayLoader();

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

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,18 @@
2626
*/
2727
class TranslationPushCommandTest extends TranslationProviderTestCase
2828
{
29+
protected function setUp(): void
30+
{
31+
putenv('COLUMNS=121');
32+
parent::setUp();
33+
}
34+
35+
protected function tearDown(): void
36+
{
37+
parent::tearDown();
38+
putenv('COLUMNS');
39+
}
40+
2941
public function testPushNewMessages()
3042
{
3143
$arrayLoader = new ArrayLoader();

0 commit comments

Comments
 (0)