You are here

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

@Given /^I add a constraint from "(?P<start>[^"]*)" to "(?P<end>[^"]*)" "(?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 650

Class

FeatureContext
Features context.

Code

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