You are here

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

@Given /^I add an always constraint where "(?P<constraint_type>[^"]*)" start on "(?P<start_day>[^"]*)" and the minimum is "(?P<minimum>[^"]*)" and the maximum is "(?P<maximum>[^"]*)"$/

File

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

Class

FeatureContext
Features context.

Code

public function iAddAnAlwaysConstraintWhereTheMinimumIsAndTheMaximumIs($minimum, $maximum, $constraint_type, $start_day) {
  $this
    ->addAvailabilityConstraint($minimum, $maximum, $constraint_type, $start_day);
}