Skip to content

Commit 6478f84

Browse files
committed
ENGCOM-4289: GraphQL 2.3.1 release fixes
1 parent e7e2f96 commit 6478f84

File tree

3 files changed

+5
-8
lines changed

3 files changed

+5
-8
lines changed

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

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -225,3 +225,8 @@ type CartItemSelectedOptionValuePrice {
225225
units: String!
226226
type: PriceTypeEnum!
227227
}
228+
229+
input CartItemDetailsInput {
230+
sku: String!
231+
qty: Float!
232+
}

dev/tests/api-functional/testsuite/Magento/GraphQl/Quote/SetBillingAddressOnCartTest.php

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -443,7 +443,6 @@ private function assertSavedBillingAddressFields(array $billingAddressResponse):
443443
* @param string $username
444444
* @param string $password
445445
* @return array
446-
* @throws \Magento\Framework\Exception\AuthenticationException
447446
*/
448447
private function getHeaderMap(string $username = 'customer@example.com', string $password = 'password'): array
449448
{
@@ -455,7 +454,6 @@ private function getHeaderMap(string $username = 'customer@example.com', string
455454
/**
456455
* @param string $reversedQuoteId
457456
* @return string
458-
* @throws \Magento\Framework\Exception\NoSuchEntityException
459457
*/
460458
private function getMaskedQuoteIdByReversedQuoteId(string $reversedQuoteId): string
461459
{
@@ -469,8 +467,6 @@ private function getMaskedQuoteIdByReversedQuoteId(string $reversedQuoteId): str
469467
* @param string $reversedQuoteId
470468
* @param int $customerId
471469
* @return string
472-
* @throws \Magento\Framework\Exception\AlreadyExistsException
473-
* @throws \Magento\Framework\Exception\NoSuchEntityException
474470
*/
475471
private function assignQuoteToCustomer(
476472
string $reversedQuoteId = 'test_order_with_simple_product_without_address',

dev/tests/api-functional/testsuite/Magento/GraphQl/Quote/SetShippingAddressOnCartTest.php

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -492,7 +492,6 @@ private function assertSavedShippingAddressFields(array $shippingAddressResponse
492492
* @param string $username
493493
* @param string $password
494494
* @return array
495-
* @throws \Magento\Framework\Exception\AuthenticationException
496495
*/
497496
private function getHeaderMap(string $username = 'customer@example.com', string $password = 'password'): array
498497
{
@@ -504,7 +503,6 @@ private function getHeaderMap(string $username = 'customer@example.com', string
504503
/**
505504
* @param string $reversedQuoteId
506505
* @return string
507-
* @throws \Magento\Framework\Exception\NoSuchEntityException
508506
*/
509507
private function getMaskedQuoteIdByReversedQuoteId(string $reversedQuoteId): string
510508
{
@@ -518,8 +516,6 @@ private function getMaskedQuoteIdByReversedQuoteId(string $reversedQuoteId): str
518516
* @param string $reversedQuoteId
519517
* @param int $customerId
520518
* @return string
521-
* @throws \Magento\Framework\Exception\AlreadyExistsException
522-
* @throws \Magento\Framework\Exception\NoSuchEntityException
523519
*/
524520
private function assignQuoteToCustomer(
525521
string $reversedQuoteId = 'test_order_with_simple_product_without_address',

0 commit comments

Comments
 (0)