Skip to content

Commit 02403e3

Browse files
committed
MAGE-1363 Apply positional based array to data provider to address deprecation warnings
1 parent edb69fe commit 02403e3

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

Test/Integration/Frontend/Category/CategoryCacheTest.php

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -23,12 +23,12 @@ class CategoryCacheTest extends AbstractController
2323
public static function getCategoryProvider(): array
2424
{
2525
return [
26-
['categoryId' => 20, 'name' => 'Women', 'hasProducts' => false],
27-
['categoryId' => 21, 'name' => 'Women > Tops', 'hasProducts' => true],
28-
['categoryId' => 22, 'name' => 'Women > Bottoms', 'hasProducts' => true],
29-
['categoryId' => 11, 'name' => 'Men', 'hasProducts' => false],
30-
['categoryId' => 12, 'name' => 'Men > Tops', 'hasProducts' => true],
31-
['categoryId' => 13, 'name' => 'Men > Bottoms', 'hasProducts' => true],
26+
[20, 'Women', false],
27+
[21, 'Women > Tops', true],
28+
[22, 'Women > Bottoms', true],
29+
[11, 'Men', false],
30+
[12, 'Men > Tops', true],
31+
[13, 'Men > Bottoms', true],
3232
];
3333
}
3434

0 commit comments

Comments
 (0)