Skip to content

Commit d351549

Browse files
Nazar65Bartlomiejsz
authored andcommitted
Fix health index, and static test.
1 parent 2a5c87c commit d351549

File tree

1 file changed

+13
-8
lines changed

1 file changed

+13
-8
lines changed

app/code/Magento/Catalog/Test/Unit/Model/Category/DataProviderTest.php

Lines changed: 13 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
* Copyright © Magento, Inc. All rights reserved.
44
* See COPYING.txt for license details.
55
*/
6+
67
namespace Magento\Catalog\Test\Unit\Model\Category;
78

89
use Magento\Catalog\Model\Category;
@@ -232,10 +233,12 @@ public function testGetDataNoFileExists()
232233
->getMock();
233234
$categoryMock->expects($this->exactly(2))
234235
->method('getData')
235-
->willReturnMap([
236-
['', null, $categoryData],
237-
['image', null, $categoryData['image']],
238-
]);
236+
->willReturnMap(
237+
[
238+
['', null, $categoryData],
239+
['image', null, $categoryData['image']],
240+
]
241+
);
239242
$categoryMock->method('getExistsStoreValueFlag')
240243
->with('url_key')
241244
->willReturn(false);
@@ -304,10 +307,12 @@ public function testGetData()
304307
->getMock();
305308
$categoryMock->expects($this->exactly(2))
306309
->method('getData')
307-
->willReturnMap([
308-
['', null, $categoryData],
309-
['image', null, $categoryData['image']],
310-
]);
310+
->willReturnMap(
311+
[
312+
['', null, $categoryData],
313+
['image', null, $categoryData['image']],
314+
]
315+
);
311316
$categoryMock->method('getExistsStoreValueFlag')
312317
->with('url_key')
313318
->willReturn(false);

0 commit comments

Comments
 (0)