You are here

public function FeatureContext::fillBillingCommerceAddress in Rooms - Drupal Booking for Hotels, B&Bs and Vacation Rentals 7

Fill the commerce billing address form fields in a single step.

@When /^I fill billing address with "(?P<address>[^"]*)", "(?P<city>[^"]*)", "(?P<state>[^"]*)", "(?P<zip>[^"]*)", "(?P<country>[^"]*)"$/

File

test/features/bootstrap/FeatureContext.php, line 719

Class

FeatureContext
Features context.

Code

public function fillBillingCommerceAddress($address, $city, $state, $zip, $country) {
  $args = func_get_args();
  return $this
    ->fillCommerceAddress($args, 'customer_profile_billing');
}