You are here

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

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

File

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

Class

FeatureContext
Features context.

Code

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