diff --git a/dev/tests/api-functional/testsuite/Magento/GraphQl/Customer/GetCustomerTest.php b/dev/tests/api-functional/testsuite/Magento/GraphQl/Customer/GetCustomerTest.php index 5ed559b88311..8ced4e479e00 100644 --- a/dev/tests/api-functional/testsuite/Magento/GraphQl/Customer/GetCustomerTest.php +++ b/dev/tests/api-functional/testsuite/Magento/GraphQl/Customer/GetCustomerTest.php @@ -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; @@ -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 = <<graphQlQuery( - $query, - [], - '', - $headersMap - ); + $this->graphQlQuery($query, [], '', $headersMap); } /**