You are here

public function ScheduledTransitionTest::providerSingleTransition in Lightning Scheduler 8

Data provider for testSingleTransition().

Return value

array The scenarios to test.

File

tests/src/Functional/ScheduledTransitionTest.php, line 65

Class

ScheduledTransitionTest
@group lightning_scheduler

Namespace

Drupal\Tests\lightning_scheduler\Functional

Code

public function providerSingleTransition() {
  return [
    'draft to published in future' => [
      10,
      'published',
      'Published',
    ],
    'draft to archived in future' => [
      10,
      'archived',
      'Draft',
    ],
    'draft to published in past' => [
      -10,
      'published',
      'Published',
    ],
    'draft to archived in past' => [
      -10,
      'archived',
      'Draft',
    ],
  ];
}