Skip to content

Commit dde488f

Browse files
committed
GraphQL-375: Customer can get shipping/billing address data of any other customer
1 parent fa5613b commit dde488f

File tree

2 files changed

+0
-8
lines changed

2 files changed

+0
-8
lines changed

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

-4
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 = '[email protected]', string $password = 'password'): array
449448
{
@@ -455,7 +454,6 @@ private function getHeaderMap(string $username = '[email protected]', 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

-4
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 = '[email protected]', string $password = 'password'): array
498497
{
@@ -504,7 +503,6 @@ private function getHeaderMap(string $username = '[email protected]', 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)