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][Admin] Managing product images #15509

Merged
merged 22 commits into from Nov 30, 2023

Conversation

GSadee
Copy link
Member

@GSadee GSadee commented Nov 8, 2023

Q A
Branch? 1.13
Bug fix? no
New feature? yes
BC breaks? no
Deprecations? no
Related tickets based on #15504
License MIT
image

@GSadee GSadee added Feature New feature proposals. Admin AdminBundle related issues and PRs. API APIs related issues and PRs. labels Nov 8, 2023
@GSadee GSadee changed the title [WIP][API][Admin] Managing product images [API][Admin] Managing product images Nov 14, 2023
Copy link

github-actions bot commented Nov 14, 2023

Bunnyshell Preview Environment deleted

Available commands:

  • /bns:deploy to redeploy the environment

@GSadee GSadee force-pushed the api-managing-product-images branch 3 times, most recently from 1ce247c to de35ae5 Compare November 14, 2023 12:47
@GSadee GSadee marked this pull request as ready for review November 16, 2023 06:32
@GSadee GSadee requested a review from a team as a code owner November 16, 2023 06:32
@GSadee GSadee force-pushed the api-managing-product-images branch 3 times, most recently from e33ec2d to 6f9a61a Compare November 24, 2023 11:54
Rafikooo
Rafikooo previously approved these changes Nov 24, 2023
diimpp
diimpp previously approved these changes Nov 25, 2023
Wojdylak
Wojdylak previously approved these changes Nov 27, 2023
@GSadee GSadee dismissed stale reviews from Wojdylak, diimpp, and Rafikooo via 13acfa6 November 28, 2023 13:45
@@ -36,49 +38,262 @@ public function it_denies_access_to_a_product_images_list_for_not_authenticated_
/** @test */
public function it_gets_all_product_images(): void
{
$this->loadFixturesFromFiles(['product/product_image.yaml', 'authentication/api_administrator.yaml']);
$this->loadFixturesFromFiles(['authentication/api_administrator.yaml', 'product/product_image.yaml']);
$header = array_merge($this->logInAdminUser('api@example.com'), self::CONTENT_TYPE_HEADER);
Copy link
Member

Choose a reason for hiding this comment

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

Would be cool to make use of HeadersBuilder https://github.com/Sylius/Sylius/blob/1.13/tests/Api/Utils/HeadersBuilder.php here and in other places in this test, since it was introduces last week.

Copy link
Member Author

Choose a reason for hiding this comment

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

👍🏻 but I would be for doing it in the separate PR

@NoResponseMate NoResponseMate merged commit 098e18b into Sylius:1.13 Nov 30, 2023
25 checks passed
@NoResponseMate
Copy link
Contributor

Thank you, @GSadee!

@GSadee GSadee deleted the api-managing-product-images branch November 30, 2023 12:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Admin AdminBundle related issues and PRs. API APIs related issues and PRs. Feature New feature proposals.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants