You are here

protected function DynamicDepthCalculationTest::_cronRun in Taxonomy Term Depth 8

Same name and namespace in other branches
  1. 8.2 tests/src/Functional/DynamicDepthCalculationTest.php \Drupal\Tests\taxonomy_term_depth\Functional\DynamicDepthCalculationTest::_cronRun()
1 call to DynamicDepthCalculationTest::_cronRun()
DynamicDepthCalculationTest::testCronQueue in tests/src/Functional/DynamicDepthCalculationTest.php
Test cron queue.

File

tests/src/Functional/DynamicDepthCalculationTest.php, line 115

Class

DynamicDepthCalculationTest
Getting calculating dynamically the depth of the term.

Namespace

Drupal\Tests\taxonomy_term_depth\Functional

Code

protected function _cronRun() {
  $this
    ->drupalGet('cron/' . \Drupal::state()
    ->get('system.cron_key'));
}