Skip to content
This repository has been archived by the owner on Dec 19, 2019. It is now read-only.

Commit

Permalink
Join comma-separated values into a single line
Browse files Browse the repository at this point in the history
Signed-off-by: Tomash Khamlai <tomash.khamlai@gmail.com>
  • Loading branch information
TomashKhamlai committed Oct 11, 2019
1 parent 6da7a67 commit 54fe800
Showing 1 changed file with 2 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@

namespace Magento\GraphQl\Customer;

use Magento\Customer\Api\AccountManagementInterface;
use Magento\Customer\Api\CustomerRepositoryInterface;
use Magento\Customer\Model\CustomerAuthUpdate;
use Magento\Customer\Model\CustomerRegistry;
Expand Down Expand Up @@ -137,7 +136,7 @@ public function testAccountIsNotConfirmed()
$currentPassword = 'password';
$headersMap = $this->getCustomerAuthHeaders($customerEmail, $currentPassword);
$customer = $this->customerRepository->getById(1)->setConfirmation(
AccountManagementInterface::ACCOUNT_CONFIRMATION_REQUIRED
\Magento\Customer\Api\AccountManagementInterface::ACCOUNT_CONFIRMATION_REQUIRED
);
$this->customerRepository->save($customer);
$query = <<<QUERY
Expand All @@ -149,12 +148,7 @@ public function testAccountIsNotConfirmed()
}
}
QUERY;
$this->graphQlQuery(
$query,
[],
'',
$headersMap
);
$this->graphQlQuery($query, [], '', $headersMap);
}

/**
Expand Down

0 comments on commit 54fe800

Please sign in to comment.