Skip to content
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] Cover adjustments serialization on OrderItemUnit and Shipment resources #15861

Conversation

Wojdylak
Copy link
Member

Q A
Branch? 1.13
Bug fix? yes
New feature? no
BC breaks? no
Deprecations? no
Related tickets #15788
License MIT

@Wojdylak Wojdylak requested a review from a team as a code owner February 20, 2024 12:48
@probot-autolabeler probot-autolabeler bot added the API APIs related issues and PRs. label Feb 20, 2024
@Wojdylak Wojdylak marked this pull request as draft February 20, 2024 12:51
Copy link

github-actions bot commented Feb 20, 2024

Bunnyshell Preview Environment deleted

Available commands:

  • /bns:deploy to redeploy the environment

@Wojdylak Wojdylak force-pushed the SYL-3328-cover-adjustments-serialization-on-order-item-unit-and-shipment-resources branch from fdb33f5 to 56f7b2b Compare February 20, 2024 13:04
@Wojdylak Wojdylak marked this pull request as ready for review February 20, 2024 13:50

$response = $this->client->getResponse();

$this->assertResponse($response, 'admin/order_item_units/get_order_item_unit_adjustments', Response::HTTP_OK);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
$this->assertResponse($response, 'admin/order_item_units/get_order_item_unit_adjustments', Response::HTTP_OK);
$this->assertResponse($response, 'admin/order_item_units/get_adjustments', Response::HTTP_OK);

It should be enough as the file is in order_item_units directory


$response = $this->client->getResponse();

$this->assertResponse($response, 'admin/shipment/get_shipment_adjustments', Response::HTTP_OK);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
$this->assertResponse($response, 'admin/shipment/get_shipment_adjustments', Response::HTTP_OK);
$this->assertResponse($response, 'admin/shipment/get_adjustments', Response::HTTP_OK);

@GSadee GSadee merged commit c5282b5 into Sylius:1.13 Feb 22, 2024
28 checks passed
@GSadee
Copy link
Member

GSadee commented Feb 22, 2024

Thank you, Karol! 🥇

@Wojdylak Wojdylak deleted the SYL-3328-cover-adjustments-serialization-on-order-item-unit-and-shipment-resources branch February 22, 2024 14:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
API APIs related issues and PRs.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants