File tree 2 files changed +4
-4
lines changed
app/code/Magento/CustomerGraphQl/etc
dev/tests/api-functional/testsuite/Magento/GraphQl/Customer 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -61,7 +61,7 @@ input CustomerInput {
61
61
lastname : String @doc (description : " The customer's family name" )
62
62
suffix : String @doc (description : " A value such as Sr., Jr., or III" )
63
63
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" )
65
65
date_of_birth : String @doc (description : " The customer's date of birth" )
66
66
taxvat : String @doc (description : " The customer's Tax/VAT number (for corporate customers)" )
67
67
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
88
88
email : String @doc (description : " The customer's email address. Required" )
89
89
default_billing : String @doc (description : " The ID assigned to the billing address" )
90
90
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" )
92
92
date_of_birth : String @doc (description : " The customer's date of birth" )
93
93
taxvat : String @doc (description : " The customer's Tax/VAT number (for corporate customers)" )
94
94
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()
82
82
middlename
83
83
lastname
84
84
suffix
85
- dob
85
+ date_of_birth
86
86
taxvat
87
87
email
88
88
gender
@@ -102,7 +102,7 @@ public function testUpdateCustomer()
102
102
$ this ->assertEquals ($ newMiddlename , $ response ['updateCustomer ' ]['customer ' ]['middlename ' ]);
103
103
$ this ->assertEquals ($ newLastname , $ response ['updateCustomer ' ]['customer ' ]['lastname ' ]);
104
104
$ 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 ' ]);
106
106
$ this ->assertEquals ($ newTaxVat , $ response ['updateCustomer ' ]['customer ' ]['taxvat ' ]);
107
107
$ this ->assertEquals ($ newEmail , $ response ['updateCustomer ' ]['customer ' ]['email ' ]);
108
108
$ this ->assertEquals ($ newGender , $ response ['updateCustomer ' ]['customer ' ]['gender ' ]);
You can’t perform that action at this time.
0 commit comments