File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
app/code/Magento/SalesGraphQl/etc
dev/tests/api-functional/testsuite/Magento/GraphQl/Sales Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -25,7 +25,7 @@ type Customer {
25
25
filter : CustomerOrdersFilterInput @doc (description : " Defines the filter to use for searching customer orders" ),
26
26
currentPage : Int = 1 @doc (description : " Specifies which page of results to return. The default value is 1" ),
27
27
pageSize : Int = 20 @doc (description : " Specifies the maximum number of results to return at once. The default value is 20" ),
28
- changeSortDirection : Boolean = false @doc (description : " Change sort direction by entity_id to DESC. The default value is false" ),
28
+ changeSortDirection : Boolean = false @doc (description : " Changes sort direction by entity_id to DESC. The default value is false" ),
29
29
): CustomerOrders @resolver (class : "Magento\\SalesGraphQl\\Model\\Resolver\\CustomerOrders" ) @cache (cacheable : false )
30
30
}
31
31
Original file line number Diff line number Diff line change @@ -410,7 +410,7 @@ public function testGetMatchingOrdersForLowerQueryLength()
410
410
* @return void
411
411
* @throws AuthenticationException
412
412
*/
413
- public function testGetCustomerOrdersWithChangedDirect ()
413
+ public function testGetCustomerDescendingSortedOrders ()
414
414
{
415
415
$ query = <<<QUERY
416
416
{
@@ -445,7 +445,7 @@ public function testGetCustomerOrdersWithChangedDirect()
445
445
$ this ->assertEquals (
446
446
$ orderItemInResponse ['number ' ],
447
447
$ expectedOrderNumbers [$ key ],
448
- "The order number is different than the expected for order - " . $ orderItemInResponse ['number ' ]
448
+ "The order number is different than the expected for order - { $ orderItemInResponse ['number ' ]}"
449
449
);
450
450
}
451
451
}
You can’t perform that action at this time.
0 commit comments