@@ -278,8 +278,8 @@ public function testQueryCategoryWithDisabledChildren()
278
278
//Check base category products
279
279
$ expectedBaseCategoryProducts = [
280
280
['sku ' => 'simple ' , 'name ' => 'Simple Product ' ],
281
- ['sku ' => '12345 ' , 'name ' => 'Simple Product Two ' ],
282
- ['sku ' => 'simple-4 ' , 'name ' => 'Simple Product Three ' ]
281
+ ['sku ' => 'simple-4 ' , 'name ' => 'Simple Product Three ' ],
282
+ ['sku ' => '12345 ' , 'name ' => 'Simple Product Two ' ]
283
283
];
284
284
$ this ->assertCategoryProducts ($ baseCategory , $ expectedBaseCategoryProducts );
285
285
//Check base category children
@@ -294,8 +294,8 @@ public function testQueryCategoryWithDisabledChildren()
294
294
$ this ->assertEquals ('Its a description of Test Category 1.2 ' , $ firstChildCategory ['description ' ]);
295
295
296
296
$ firstChildCategoryExpectedProducts = [
297
- ['sku ' => 'simple ' , 'name ' => 'Simple Product ' ],
298
- ['sku ' => 'simple-4 ' , 'name ' => 'Simple Product Three ' ]
297
+ ['sku ' => 'simple-4 ' , 'name ' => 'Simple Product Three ' ],
298
+ ['sku ' => 'simple ' , 'name ' => 'Simple Product ' ]
299
299
];
300
300
$ this ->assertCategoryProducts ($ firstChildCategory , $ firstChildCategoryExpectedProducts );
301
301
$ firstChildCategoryChildren = [];
0 commit comments