You are here

protected function SchedulerLightweightCronTest::setUp in Scheduler 8

Same name and namespace in other branches
  1. 2.x tests/src/Functional/SchedulerLightweightCronTest.php \Drupal\Tests\scheduler\Functional\SchedulerLightweightCronTest::setUp()

Overrides SchedulerBrowserTestBase::setUp

File

tests/src/Functional/SchedulerLightweightCronTest.php, line 17

Class

SchedulerLightweightCronTest
Tests the Scheduler lightweight cron urls and admin form.

Namespace

Drupal\Tests\scheduler\Functional

Code

protected function setUp() : void {
  parent::setUp();
  $this->routeCronForm = Url::fromRoute('scheduler.cron_form');
}