CronQueueTest::$currentTime

Same name in other branches
  1. 9 core/modules/system/tests/src/Kernel/System/CronQueueTest.php \Drupal\Tests\system\Kernel\System\CronQueueTest::currentTime
  2. 10 core/modules/system/tests/src/Kernel/System/CronQueueTest.php \Drupal\Tests\system\Kernel\System\CronQueueTest::currentTime

The fake current time used for queue worker / cron testing purposes.

This value should be greater than or equal to zero.

Type: int

File

core/modules/system/tests/src/Kernel/System/CronQueueTest.php, line 55

Class

CronQueueTest
Tests the Cron Queue runner.

Namespace

Drupal\Tests\system\Kernel\System

Code

protected $currentTime = 1000;

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.