Skip to content

Commit

Permalink
GraphQL-55: [Mutations] My Account > Change account information
Browse files Browse the repository at this point in the history
-- fix static tests
  • Loading branch information
Valeriy Nayda committed Oct 9, 2018
1 parent 0cb378b commit 6e6b5c3
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
use Magento\Newsletter\Model\SubscriberFactory;

/**
* is_subscribed customer field resolver
* Customer is_subscribed field resolver
*/
class IsSubscribed implements ResolverInterface
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,6 @@ public function resolve(Field $field, $context, ResolveInfo $info, array $value
}
$couponCode = $args['input']['coupon_code'];


$currentUserId = $context->getUserId();
$cart = $this->getCartForUser->execute($maskedCartId, $currentUserId);
$cartId = $cart->getId();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
* Copyright © Magento, Inc. All rights reserved.
* See COPYING.txt for license details.
*/
declare(strict_types=1);

require 'customer_rollback.php';

Expand Down

0 comments on commit 6e6b5c3

Please sign in to comment.