Skip to content

Commit 733ddf9

Browse files
XxXgeoXxXnaydav
authored andcommitted
Cannot return null for non-nullable field SelectedCustomizableOptionValue.sort_order and Call to a member function getPriceType() on null
1 parent 30bc7b7 commit 733ddf9

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

app/code/Magento/QuoteGraphQl/etc/schema.graphqls

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -325,7 +325,6 @@ type SelectedCustomizableOptionValue {
325325
label: String!
326326
value: String!
327327
price: CartItemSelectedOptionValuePrice!
328-
sort_order: Int!
329328
}
330329

331330
type CartItemSelectedOptionValuePrice {

dev/tests/api-functional/testsuite/Magento/GraphQl/CatalogInventory/AddProductToCartTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ public function testAddProductIfQuantityIsNotAvailable()
5252
* @expectedException \Exception
5353
* @expectedExceptionMessage The product's required option(s) weren't entered. Make sure the options are entered and try again.
5454
*/
55-
public function testAddProductWithoutRequiredCustomOPtions()
55+
public function testAddProductWithoutRequiredCustomOptions()
5656
{
5757
$sku = 'simple_with_custom_options';
5858
$qty = 1;
@@ -66,7 +66,7 @@ public function testAddProductWithoutRequiredCustomOPtions()
6666
* @magentoApiDataFixture Magento/Catalog/_files/product_simple_with_custom_options.php
6767
* @magentoApiDataFixture Magento/Checkout/_files/active_quote.php
6868
*/
69-
public function testAddProductWithRequiredCustomOPtions()
69+
public function testAddProductWithRequiredCustomOptions()
7070
{
7171
$sku = 'simple_with_custom_options';
7272
$qty = 1;

0 commit comments

Comments
 (0)