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

Cart summary now only works for orders in state cart #439

Merged
merged 10 commits into from
May 10, 2019

Conversation

mamazu
Copy link
Member

@mamazu mamazu commented Apr 30, 2019

@mamazu mamazu requested a review from a team as a code owner April 30, 2019 18:56
@mamazu
Copy link
Member Author

mamazu commented May 1, 2019

@lchrusciel The repository now uses the query builder which can not be tested but I think that getting a cart from the order repository should be inside the Sylius Core. What do you think?

src/ViewRepository/Cart/CartViewRepository.php Outdated Show resolved Hide resolved
src/ViewRepository/Cart/CartViewRepository.php Outdated Show resolved Hide resolved
src/ViewRepository/Cart/CartViewRepository.php Outdated Show resolved Hide resolved
tests/Controller/Cart/CartSummarizeApiTest.php Outdated Show resolved Hide resolved
@lchrusciel
Copy link
Member

but we need to fix tests firsts

@lchrusciel
Copy link
Member

I will pick it up tomorrow

@lchrusciel lchrusciel merged commit e0cc50c into Sylius:master May 10, 2019
@lchrusciel
Copy link
Member

Thanks, @mamazu! 🎉

@mamazu
Copy link
Member Author

mamazu commented May 13, 2019

Yeah, that was an obvious fix. Thanks.

@mamazu mamazu deleted the cart_repository branch May 13, 2019 08:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

cartSummarize allows access to all orders
3 participants