-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[API] Remove customer and serialize posted address #12785
Conversation
arti0090
commented
Jul 6, 2021
Q | A |
---|---|
Branch? | master |
Bug fix? | no |
New feature? | no |
BC breaks? | no |
Deprecations? | no |
License | MIT |
b7a505d
to
30aaa0c
Compare
30aaa0c
to
b95a232
Compare
b95a232
to
a19977e
Compare
"firstName":"TEST", | ||
"lastName":"TEST", | ||
"phoneNumber":"666111333", | ||
"company":"Potato Corp.", | ||
"countryCode":"US", | ||
"provinceCode":null, | ||
"provinceName":null, | ||
"street":"Top secret", | ||
"city":"Nebraska", | ||
"postcode":"12343" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Use 4 spaces instead of 2
@@ -0,0 +1,16 @@ | |||
Sylius\Component\Core\Model\ShopUser: | |||
user_{Oliver}: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
user_{Oliver}: | |
shop_user_{oliver}: |
usernameCanonical: "<current()>\\@doe.com" | ||
|
||
Sylius\Component\Core\Model\Customer: | ||
customer_{Oliver}: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
customer_{Oliver}: | |
customer_{oliver}: |
|
||
$response = $this->client->getResponse(); | ||
|
||
$this->assertResponse($response, 'shop/post_addresses_response', Response::HTTP_CREATED); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
$this->assertResponse($response, 'shop/post_addresses_response', Response::HTTP_CREATED); | |
$this->assertResponse($response, 'shop/create_address_response', Response::HTTP_CREATED); |
Thank you, @arti0090! 🎉 |
…ing post on address (arti0090) This PR was merged into the 1.11-dev branch. Discussion ---------- | Q | A | --------------- | ----- | Branch? | master | Bug fix? | no | New feature? | no | BC breaks? | no | Deprecations? | no | Related tickets | fixes for #12785 | License | MIT Commits ------- 888087e [ENH][API] Fixing naming issues after PR for serializing post on address