public function FeatureContext::iAddAConstraintFromToMustStartOn 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>[^"]*)"$/
File
- test/
features/ bootstrap/ FeatureContext.php, line 643
Class
- FeatureContext
- Features context.
Code
public function iAddAConstraintFromToMustStartOn($start, $end, $constraint_type, $start_day) {
$this
->addAvailabilityConstraint(NULL, NULL, $constraint_type, $start_day, $start, $end);
}