Skip to content

Commit 8247d57

Browse files
author
Vitaliy Boyko
committed
graphQl-912: fixing api functional test
1 parent eb29ce7 commit 8247d57

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

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

+3-3
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ public function testCreateCustomerAccountWithoutPassword()
114114

115115
/**
116116
* @expectedException \Exception
117-
* @expectedExceptionMessage "input" value should be specified
117+
* @expectedExceptionMessage Field CustomerInput.email of required type String! was not provided
118118
*/
119119
public function testCreateCustomerIfInputDataIsEmpty()
120120
{
@@ -140,7 +140,7 @@ public function testCreateCustomerIfInputDataIsEmpty()
140140

141141
/**
142142
* @expectedException \Exception
143-
* @expectedExceptionMessage Required parameters are missing: Email
143+
* @expectedExceptionMessage GraphQL response contains errors: Field CustomerInput.email of required type String! was not provided
144144
*/
145145
public function testCreateCustomerIfEmailMissed()
146146
{
@@ -275,7 +275,7 @@ public function testCreateCustomerIfNameEmpty()
275275
QUERY;
276276
$this->graphQlMutation($query);
277277
}
278-
278+
279279
/**
280280
* @magentoConfigFixture default_store newsletter/general/active 0
281281
*/

0 commit comments

Comments
 (0)