public function ScheduledTransitionTest::providerSingleTransition in Lightning Workflow 8.3
Same name and namespace in other branches
- 8.2 modules/lightning_scheduler/tests/src/Functional/ScheduledTransitionTest.php \Drupal\Tests\lightning_scheduler\Functional\ScheduledTransitionTest::providerSingleTransition()
Data provider for testSingleTransition().
Return value
array The scenarios to test.
File
- modules/
lightning_scheduler/ tests/ src/ Functional/ ScheduledTransitionTest.php, line 80
Class
- ScheduledTransitionTest
- @group lightning_workflow @group lightning_scheduler @group orca_public
Namespace
Drupal\Tests\lightning_scheduler\FunctionalCode
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',
],
];
}