Skip to content

Commit

Permalink
Cannot return null for non-nullable field SelectedCustomizableOptionV…
Browse files Browse the repository at this point in the history
…alue.sort_order and Call to a member function getPriceType() on null
  • Loading branch information
XxXgeoXxX authored and naydav committed Apr 30, 2019
1 parent 30bc7b7 commit 733ddf9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
1 change: 0 additions & 1 deletion app/code/Magento/QuoteGraphQl/etc/schema.graphqls
Original file line number Diff line number Diff line change
Expand Up @@ -325,7 +325,6 @@ type SelectedCustomizableOptionValue {
label: String!
value: String!
price: CartItemSelectedOptionValuePrice!
sort_order: Int!
}

type CartItemSelectedOptionValuePrice {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ public function testAddProductIfQuantityIsNotAvailable()
* @expectedException \Exception
* @expectedExceptionMessage The product's required option(s) weren't entered. Make sure the options are entered and try again.
*/
public function testAddProductWithoutRequiredCustomOPtions()
public function testAddProductWithoutRequiredCustomOptions()
{
$sku = 'simple_with_custom_options';
$qty = 1;
Expand All @@ -66,7 +66,7 @@ public function testAddProductWithoutRequiredCustomOPtions()
* @magentoApiDataFixture Magento/Catalog/_files/product_simple_with_custom_options.php
* @magentoApiDataFixture Magento/Checkout/_files/active_quote.php
*/
public function testAddProductWithRequiredCustomOPtions()
public function testAddProductWithRequiredCustomOptions()
{
$sku = 'simple_with_custom_options';
$qty = 1;
Expand Down

0 comments on commit 733ddf9

Please sign in to comment.