-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
List of channel currencies endpoint #13287
Conversation
paullla
commented
Nov 11, 2021
Q | A |
---|---|
Branch? | master |
Bug fix? | no |
New feature? | yes |
BC breaks? | no |
Deprecations? | no |
Related tickets | |
License | MIT |
src/Sylius/Bundle/ApiBundle/DataProvider/CurrencyCollectionDataProvider.php
Show resolved
Hide resolved
src/Sylius/Bundle/ApiBundle/DataProvider/CurrencyCollectionDataProvider.php
Show resolved
Hide resolved
src/Sylius/Bundle/ApiBundle/DataProvider/CurrencyCollectionDataProvider.php
Show resolved
Hide resolved
541aa45
to
292a698
Compare
@api | ||
Scenario: Showing available currencies | ||
When I browse currencies | ||
Then I should see 2 currencies in the list |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe it would be also worth to check what currencies are they?
src/Sylius/Bundle/ApiBundle/DataProvider/CurrencyCollectionDataProvider.php
Show resolved
Hide resolved
Scenario: Showing available currencies | ||
When I browse that channel | ||
Then I should be able to shop using the "USD" currency | ||
|
||
@api |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Wrong indent
92283fa
to
f3824d6
Compare
* @Then I should see :firstCurrency and :secondCurrency in the list | ||
* @Then I should see :firstCurrency, :secondCurrency and :thirdCurrency in the list | ||
*/ | ||
public function iShouldSeeCurrenciesInTheList(... $currencies): void |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
public function iShouldSeeCurrenciesInTheList(... $currencies): void | |
public function iShouldSeeCurrenciesInTheList(string ...$currenciesCodes): void |
Thank you, Paula! 🥇 |
This PR was merged into the 1.11-dev branch. Discussion ---------- | Q | A | --------------- | ----- | Branch? | master | Bug fix? | no | New feature? | no | BC breaks? | no | Deprecations? | no | Related tickets | #13287 (comment) | License | MIT <!-- - Bug fixes must be submitted against the 1.9 or 1.10 branch (the lowest possible) - Features and deprecations must be submitted against the master branch - Make sure that the correct base branch is set To be sure you are not breaking any Backward Compatibilities, check the documentation: https://docs.sylius.com/en/latest/book/organization/backward-compatibility-promise.html --> Commits ------- 1001bb1 [Minor][Behat] Style and type refactor