Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 13ff50c commit 23d148cCopy full SHA for 23d148c
1 file changed
src/Sylius/Behat/Context/Api/Shop/CurrencyContext.php
@@ -46,12 +46,12 @@ public function iBrowseCurrencies(): void
46
* @Then I should see :firstCurrency and :secondCurrency in the list
47
* @Then I should see :firstCurrency, :secondCurrency and :thirdCurrency in the list
48
*/
49
- public function iShouldSeeCurrenciesInTheList(... $currencies): void
+ public function iShouldSeeCurrenciesInTheList(string ...$currenciesCodes): void
50
{
51
$response = $this->client->getLastResponse();
52
53
- foreach ($currencies as $currency) {
54
- $this->responseChecker->getCollectionItemsWithValue($response, 'code', $currency);
+ foreach ($currenciesCodes as $currencyCode) {
+ $this->responseChecker->getCollectionItemsWithValue($response, 'code', $currencyCode);
55
}
56
57
0 commit comments