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] orders index for customer's account #11891

Merged
merged 3 commits into from
Oct 1, 2020

Conversation

AdamKasp
Copy link
Contributor

Q A
Branch? master
Bug fix? no
New feature? yes
BC breaks? no
Related tickets part of #11250
License MIT

@AdamKasp AdamKasp requested a review from a team as a code owner September 30, 2020 09:14
@probot-autolabeler probot-autolabeler bot added the API APIs related issues and PRs. label Sep 30, 2020
@AdamKasp AdamKasp changed the title Api account orders index [Api] orders index for customer's account Sep 30, 2020
Copy link
Contributor

@Tomanhez Tomanhez left a comment

Choose a reason for hiding this comment

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

And rebase needed

/**
* @When I register with previously used :email email and :password password
*/
public function iRegisterWithPreviouslyUsedEmailAndPassword(string $email, string $password): void
Copy link
Member

Choose a reason for hiding this comment

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

Couldn't it be extracted to RegistrationContext?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

could be... but if I do that I get many names conflicts, so I left it here.

src/Sylius/Behat/Context/Api/Shop/AccountContext.php Outdated Show resolved Hide resolved
src/Sylius/Behat/Context/Setup/UserContext.php Outdated Show resolved Hide resolved
@@ -125,4 +125,14 @@ public function findCartsNotModifiedSince(\DateTimeInterface $terminalDate): arr
->getResult()
;
}

public function findAllExceptCarts(): array
Copy link
Member

Choose a reason for hiding this comment

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

I'm not convinced to that name, but for now, I have no better idea

@GSadee GSadee merged commit ba82588 into Sylius:master Oct 1, 2020
@GSadee
Copy link
Member

GSadee commented Oct 1, 2020

Thanks, Adam! 🥇

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.

None yet

3 participants