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

[CatalogPromotions][Validation] add validation to catalog promotion, … #13093

Merged
merged 3 commits into from
Sep 14, 2021

Conversation

SirDomin
Copy link
Contributor

@SirDomin SirDomin commented Sep 13, 2021

…unify not number and empty amount

Q A
Branch? master
Bug fix? no
New feature? no
BC breaks? no
Deprecations? no
Related tickets
License MIT

image
image

@SirDomin SirDomin requested a review from a team as a code owner September 13, 2021 08:17
@probot-autolabeler probot-autolabeler bot added the Admin AdminBundle related issues and PRs. label Sep 13, 2021
/**
* @Then I should be notified that a discount amount should be a number and cannot be empty
*/
public function iShouldBeNotifiedThatADiscountAmountShouldBeANumber(): void
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
public function iShouldBeNotifiedThatADiscountAmountShouldBeANumber(): void
public function iShouldBeNotifiedThatADiscountAmountShouldBeANumberAndCannotBeEmpty(): void

@GSadee GSadee merged commit dcfea96 into Sylius:master Sep 14, 2021
@GSadee
Copy link
Member

GSadee commented Sep 14, 2021

Thank you, @SirDomin! 🎉

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.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants