Skip to content

Commit 42a853f

Browse files
committed
Fixed Static Test
1 parent 4e683ee commit 42a853f

File tree

2 files changed

+9
-7
lines changed

2 files changed

+9
-7
lines changed

app/code/Magento/ImportExport/Test/Unit/Model/ImportTest.php

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -43,15 +43,11 @@ class ImportTest extends AbstractImportTestCase
4343
{
4444

4545
/**
46-
* Entity adapter.
47-
*
4846
* @var AbstractEntity|MockObject
4947
*/
5048
protected $_entityAdapter;
5149

5250
/**
53-
* Import export data
54-
*
5551
* @var Data|MockObject
5652
*/
5753
protected $_importExportData = null;

lib/internal/Magento/Framework/View/Test/Unit/Asset/RepositoryTest.php

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -254,7 +254,13 @@ public function updateDesignParamsDataProvider()
254254
['area' => 'AREA', 'themeModel' => $this->getThemeMock(), 'module' => false, 'locale' => 'locale']],
255255
[
256256
['themeId' => 'ThemeID'],
257-
['area' => 'area', 'themeId' => 'ThemeID', 'themeModel' => 'ThemeID', 'module' => false, 'locale' => 'locale']
257+
[
258+
'area' => 'area',
259+
'themeId' => 'ThemeID',
260+
'themeModel' => 'ThemeID',
261+
'module' => false,
262+
'locale' => 'locale'
263+
]
258264
]
259265
];
260266
}
@@ -270,7 +276,7 @@ public function testCreateAsset()
270276
->method('getThemeByFullPath')
271277
->willReturnArgument(0);
272278

273-
$fallbackContextMock = $this->getMockBuilder(\Magento\Framework\View\Asset\File\FallbackContex::class)
279+
$fallbackContextMock = $this->getMockBuilder('Magento\Framework\View\Asset\File\FallbackContex')
274280
->disableOriginalConstructor()
275281
->getMock();
276282
$this->fallbackFactoryMock
@@ -335,7 +341,7 @@ public function testGetStaticViewFileContext()
335341
->method('isSecure')
336342
->willReturn(false);
337343

338-
$fallbackContextMock = $this->getMockBuilder(\Magento\Framework\View\Asset\File\FallbackContex::class)
344+
$fallbackContextMock = $this->getMockBuilder('Magento\Framework\View\Asset\File\FallbackContex')
339345
->disableOriginalConstructor()
340346
->getMock();
341347
$this->fallbackFactoryMock

0 commit comments

Comments
 (0)