Skip to content

Commit

Permalink
[Behat] Fix argument name after upgrade Behat to v3.8.0
Browse files Browse the repository at this point in the history
  • Loading branch information
GSadee committed Nov 2, 2020
1 parent e54495a commit 48b5baf
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions src/Sylius/Behat/Context/Ui/Shop/LocaleContext.php
Original file line number Diff line number Diff line change
Expand Up @@ -29,15 +29,15 @@ public function __construct(HomePageInterface $homePage)
}

/**
* @Given I switched the shop's locale to :locale
* @Given I have switched to the :locale locale
* @When I switch to the :locale locale
* @When I change my locale to :locale
* @Given I switched the shop's locale to :name
* @Given I have switched to the :name locale
* @When I switch to the :name locale
* @When I change my locale to :name
*/
public function iSwitchTheLocaleToTheLocale(string $locale): void
public function iSwitchTheLocaleToTheLocale(string $name): void
{
$this->homePage->open();
$this->homePage->switchLocale($locale);
$this->homePage->switchLocale($name);
}

/**
Expand Down

0 comments on commit 48b5baf

Please sign in to comment.