You are here

public function SchedulerContext::addInMinutesFromNow in Lightning Workflow 8.2

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

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

Parameters

string $state: The destination state of the transition.

int $n: The number of minutes.

1 call to SchedulerContext::addInMinutesFromNow()
SchedulerContext::addInHoursFromNow in modules/lightning_scheduler/tests/contexts/SchedulerContext.behat.inc
Schedules a transition to take place a certain number of hours from now.

File

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

Class

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

Namespace

Acquia\LightningExtension\Context

Code

public function addInMinutesFromNow($state, $n) {
  $this
    ->addInSecondsFromNow($state, $n * 60);
}