diff --git a/dev/tests/api-functional/testsuite/Magento/GraphQl/Customer/CreateCustomerTest.php b/dev/tests/api-functional/testsuite/Magento/GraphQl/Customer/CreateCustomerTest.php index 86360a71b1f68..1e6e0463fd318 100644 --- a/dev/tests/api-functional/testsuite/Magento/GraphQl/Customer/CreateCustomerTest.php +++ b/dev/tests/api-functional/testsuite/Magento/GraphQl/Customer/CreateCustomerTest.php @@ -139,7 +139,7 @@ public function testCreateCustomerIfInputDataIsEmpty() /** * @expectedException \Exception - * @expectedExceptionMessage The customer email is missing. Enter and try again. + * @expectedExceptionMessage Required parameters are missing: Email */ public function testCreateCustomerIfEmailMissed() { @@ -243,7 +243,7 @@ public function testCreateCustomerIfPassedAttributeDosNotExistsInCustomerInput() /** * @expectedException \Exception - * @expectedExceptionMessage Required parameters are missing: firstname + * @expectedExceptionMessage Required parameters are missing: First Name */ public function testCreateCustomerIfNameEmpty() { diff --git a/dev/tests/api-functional/testsuite/Magento/GraphQl/Customer/UpdateCustomerTest.php b/dev/tests/api-functional/testsuite/Magento/GraphQl/Customer/UpdateCustomerTest.php index cd78018dc1ca5..84dc6d4705cc6 100644 --- a/dev/tests/api-functional/testsuite/Magento/GraphQl/Customer/UpdateCustomerTest.php +++ b/dev/tests/api-functional/testsuite/Magento/GraphQl/Customer/UpdateCustomerTest.php @@ -253,6 +253,8 @@ public function testUpdateEmailIfEmailAlreadyExists() $currentEmail = 'customer@example.com'; $currentPassword = 'password'; $existedEmail = 'customer_two@example.com'; + $firstname = 'Richard'; + $lastname = 'Rowe'; $query = <<