public function tearDown() { parent::tearDown(); $args = $this->args; if (!empty($args['runNextJob'])) { $args = []; $args['description'] = 'Direct: Stats of StatsMemberMonthly'; Yii::$app->job->create('backend\\modules\\member\\job\\StatsMemberMonthly', $args); } }
public function tearDown() { parent::tearDown(); $args = $this->args; if (!empty($args['runNextJob'])) { $args = []; $args['description'] = 'Delay: Stats of account orders'; Yii::$app->job->create('backend\\modules\\member\\job\\StatsOrder', $args); } }