Skip to content

Commit f0f40ec

Browse files
AC-9843:: i18n:collect-phrases breaks the translations integrity
1 parent 12022eb commit f0f40ec

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

dev/tests/integration/testsuite/Magento/Setup/Module/I18n/Parser/Adapter/JsTest.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -38,16 +38,16 @@ public function testParse()
3838
[
3939
'phrase' => 'text single quote',
4040
'file' => $file,
41-
'line' => 2,
41+
'line' => 1,
4242
'quote' => '\''
4343
],
4444
[
4545
'phrase' => 'text "some',
4646
'file' => $file,
47-
'line' => 3,
47+
'line' => 1,
4848
'quote' => '\''
4949
]
5050
];
5151
$this->assertEquals($expectation, $this->jsPhraseCollector->getPhrases());
52-
}
52+
}
5353
}

dev/tests/static/testsuite/Magento/Test/Integrity/App/Language/TranslationFilesTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
class TranslationFilesTest extends TranslationFiles
1818
{
1919
/**
20-
* Context
20+
* Context var
2121
*
2222
* @var \Magento\Setup\Module\I18n\Context
2323
*/

0 commit comments

Comments
 (0)