Skip to content

Commit 54fe800

Browse files
committed
Join comma-separated values into a single line
Signed-off-by: Tomash Khamlai <tomash.khamlai@gmail.com>
1 parent 6da7a67 commit 54fe800

File tree

1 file changed

+2
-8
lines changed

1 file changed

+2
-8
lines changed

dev/tests/api-functional/testsuite/Magento/GraphQl/Customer/GetCustomerTest.php

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@
77

88
namespace Magento\GraphQl\Customer;
99

10-
use Magento\Customer\Api\AccountManagementInterface;
1110
use Magento\Customer\Api\CustomerRepositoryInterface;
1211
use Magento\Customer\Model\CustomerAuthUpdate;
1312
use Magento\Customer\Model\CustomerRegistry;
@@ -137,7 +136,7 @@ public function testAccountIsNotConfirmed()
137136
$currentPassword = 'password';
138137
$headersMap = $this->getCustomerAuthHeaders($customerEmail, $currentPassword);
139138
$customer = $this->customerRepository->getById(1)->setConfirmation(
140-
AccountManagementInterface::ACCOUNT_CONFIRMATION_REQUIRED
139+
\Magento\Customer\Api\AccountManagementInterface::ACCOUNT_CONFIRMATION_REQUIRED
141140
);
142141
$this->customerRepository->save($customer);
143142
$query = <<<QUERY
@@ -149,12 +148,7 @@ public function testAccountIsNotConfirmed()
149148
}
150149
}
151150
QUERY;
152-
$this->graphQlQuery(
153-
$query,
154-
[],
155-
'',
156-
$headersMap
157-
);
151+
$this->graphQlQuery($query, [], '', $headersMap);
158152
}
159153

160154
/**

0 commit comments

Comments
 (0)