Skip to content

Commit 1c65121

Browse files
committed
magento#271: [My Account] Minor API test fix
1 parent ef078b6 commit 1c65121

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -273,7 +273,7 @@ public function testCreateCustomerIfNameEmpty()
273273
}
274274
}
275275
QUERY;
276-
$this->graphQlQuery($query);
276+
$this->graphQlMutation($query);
277277
}
278278

279279
public function tearDown()

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -300,7 +300,7 @@ public function testEmptyCustomerName()
300300
}
301301
}
302302
QUERY;
303-
$this->graphQlQuery($query, [], '', $this->getCustomerAuthHeaders($currentEmail, $currentPassword));
303+
$this->graphQlMutation($query, [], '', $this->getCustomerAuthHeaders($currentEmail, $currentPassword));
304304
}
305305

306306
/**

0 commit comments

Comments
 (0)