Skip to content

Commit 3c524e3

Browse files
MAGETWO-70599: Product Edit Page Can't Load
- Fix static tests
1 parent d68fe43 commit 3c524e3

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

dev/tests/integration/testsuite/Magento/Translation/Model/Js/PreProcessorTest.php

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,10 @@ protected function setUp()
3737
{
3838
$viewFileSystem = $this->createPartialMock(FileSystem::class, ['getLocaleFileName']);
3939
$viewFileSystem->expects($this->any())->method('getLocaleFileName')
40-
->willReturn(dirname(__DIR__) . '/_files/Magento/Store/i18n/en_AU.csv');
40+
->willReturn(
41+
// phpcs:ignore Magento2.Functions.DiscouragedFunction
42+
dirname(__DIR__) . '/_files/Magento/Store/i18n/en_AU.csv'
43+
);
4144

4245
$objectManager = Bootstrap::getObjectManager();
4346
$objectManager->addSharedInstance($viewFileSystem, FileSystem::class);

0 commit comments

Comments
 (0)