CronQueueTest::$currentTime

Same name in other branches
  1. 10 core/modules/system/tests/src/Kernel/System/CronQueueTest.php \Drupal\Tests\system\Kernel\System\CronQueueTest::currentTime
  2. 11.x 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 48

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.