You are here

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

@Then /^the "([^"]*)" unit should be Confirmed by the last booking between "([^"]*)" and "([^"]*)"$/

File

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

Class

FeatureContext
Features context.

Code

public function theUnitShouldBeConfirmedBetweenAnd($unit_name, $start_date, $end_date) {
  $this
    ->checkUnitLockedByLastBooking($unit_name, $start_date, $end_date, 1);
}