/** * @Given I want to enable :customer * @Given I want to disable :customer */ public function iWantToChangeStatusOf(CustomerInterface $customer) { $this->updatePage->open(['id' => $customer->getId()]); }
/** * @When /^I modify a (shipping category "([^"]+)")$/ * @Given /^I want to modify a (shipping category "([^"]+)")$/ */ public function iWantToModifyAShippingCategory(ShippingCategoryInterface $shippingCategory) { $this->updatePage->open(['id' => $shippingCategory->getId()]); }