File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
app/code/Magento/CustomerGraphQl/etc
dev/tests/api-functional/testsuite/Magento/GraphQl/Customer Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -61,7 +61,7 @@ input CustomerInput {
6161 lastname : String @doc (description : " The customer's family name" )
6262 suffix : String @doc (description : " A value such as Sr., Jr., or III" )
6363 email : String @doc (description : " The customer's email address. Required" )
64- dob : String @doc (description : " The customer's date of birth " ) # deprecated(reason: "The `dob` is deprecated. Use `date_of_birth` instead. ")
64+ dob : String @doc (description : " Deprecated: Use `date_of_birth` instead" )
6565 date_of_birth : String @doc (description : " The customer's date of birth" )
6666 taxvat : String @doc (description : " The customer's Tax/VAT number (for corporate customers)" )
6767 gender : Int @doc (description : " The customer's gender(Male - 1, Female - 2)" )
@@ -88,7 +88,7 @@ type Customer @doc(description: "Customer defines the customer name and address
8888 email : String @doc (description : " The customer's email address. Required" )
8989 default_billing : String @doc (description : " The ID assigned to the billing address" )
9090 default_shipping : String @doc (description : " The ID assigned to the shipping address" )
91- dob : String @doc (description : " The customer's date of birth" ) # deprecated(reason: "The `dob` is deprecated. Use `date_of_birth` instead. ")
91+ dob : String @doc (description : " The customer's date of birth" ) @ deprecated (reason : " Use `date_of_birth` instead" )
9292 date_of_birth : String @doc (description : " The customer's date of birth" )
9393 taxvat : String @doc (description : " The customer's Tax/VAT number (for corporate customers)" )
9494 id : Int @doc (description : " The ID assigned to the customer" )
Original file line number Diff line number Diff line change @@ -82,7 +82,7 @@ public function testUpdateCustomer()
8282 middlename
8383 lastname
8484 suffix
85- dob
85+ date_of_birth
8686 taxvat
8787 email
8888 gender
@@ -102,7 +102,7 @@ public function testUpdateCustomer()
102102 $ this ->assertEquals ($ newMiddlename , $ response ['updateCustomer ' ]['customer ' ]['middlename ' ]);
103103 $ this ->assertEquals ($ newLastname , $ response ['updateCustomer ' ]['customer ' ]['lastname ' ]);
104104 $ this ->assertEquals ($ newSuffix , $ response ['updateCustomer ' ]['customer ' ]['suffix ' ]);
105- $ this ->assertEquals ($ newDob , $ response ['updateCustomer ' ]['customer ' ]['dob ' ]);
105+ $ this ->assertEquals ($ newDob , $ response ['updateCustomer ' ]['customer ' ]['date_of_birth ' ]);
106106 $ this ->assertEquals ($ newTaxVat , $ response ['updateCustomer ' ]['customer ' ]['taxvat ' ]);
107107 $ this ->assertEquals ($ newEmail , $ response ['updateCustomer ' ]['customer ' ]['email ' ]);
108108 $ this ->assertEquals ($ newGender , $ response ['updateCustomer ' ]['customer ' ]['gender ' ]);
You can’t perform that action at this time.
0 commit comments