public function FeatureContext::fillShippingCommerceAddress in Rooms - Drupal Booking for Hotels, B&Bs and Vacation Rentals 7
Fill the commerce shipping address form fields in a single step.
@When /^I fill shipping address with "(?P<address>[^"]*)", "(?P<city>[^"]*)", "(?P<state>[^"]*)", "(?P<zip>[^"]*)", "(?P<country>[^"]*)"$/
File
- test/
features/ bootstrap/ FeatureContext.php, line 709
Class
- FeatureContext
- Features context.
Code
public function fillShippingCommerceAddress($address, $city, $state, $zip, $country) {
$args = func_get_args();
return $this
->fillCommerceAddress($args, 'customer_profile_shipping');
}