You are here

public function SchedulerContext::addInDaysFromNow in Lightning Workflow 8.2

Schedules a transition to take place a certain number of days from now.

@When I schedule a transition to :state in :n day(s)

Parameters

string $state: The destination state of the transition.

int $n: The number of days.

File

modules/lightning_scheduler/tests/contexts/SchedulerContext.behat.inc, line 214

Class

SchedulerContext
Contains step definitions for interacting with the Lightning Scheduler UI.

Namespace

Acquia\LightningExtension\Context

Code

public function addInDaysFromNow($state, $n) {
  $this
    ->addInHoursFromNow($state, $n * 24);
}