Skip to content

Commit d3aa6b6

Browse files
author
dnyomo
committed
Updated test
1 parent 34cf76d commit d3aa6b6

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

dev/tests/api-functional/testsuite/Magento/GraphQl/Catalog/CategoryListTest.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -214,8 +214,8 @@ public function testQueryChildCategoriesWithProducts()
214214
$this->assertEquals('Category 1.2', $secondChildCategory['name']);
215215
$this->assertEquals('Its a description of Test Category 1.2', $secondChildCategory['description']);
216216
$firstChildCategoryExpectedProducts = [
217-
['sku' => 'simple', 'name' => 'Simple Product'],
218-
['sku' => 'simple-4', 'name' => 'Simple Product Three']
217+
['sku' => 'simple-4', 'name' => 'Simple Product Three'],
218+
['sku' => 'simple', 'name' => 'Simple Product']
219219
];
220220
$this->assertCategoryProducts($secondChildCategory, $firstChildCategoryExpectedProducts);
221221
$firstChildCategoryChildren = [];
@@ -294,8 +294,8 @@ public function testQueryCategoryWithDisabledChildren()
294294
$this->assertEquals('Its a description of Test Category 1.2', $firstChildCategory['description']);
295295

296296
$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']
299299
];
300300
$this->assertCategoryProducts($firstChildCategory, $firstChildCategoryExpectedProducts);
301301
$firstChildCategoryChildren = [];

0 commit comments

Comments
 (0)