protected function setup() { parent::setUp(); Yii::$app->set('workflowSource', ['class' => 'raoul2000\\workflow\\source\\file\\WorkflowFileSource', 'definitionLoader' => ['class' => 'raoul2000\\workflow\\source\\file\\PhpClassLoader', 'namespace' => 'tests\\codeception\\unit\\models']]); Item06Behavior::$maxPostCount = 2; Item06Behavior::$countPost = 0; Item06Behavior::$countPostToCorrect = 0; Item06Behavior::$countPostCorrected = 0; }
protected function setup() { parent::setUp(); Yii::$app->set('workflowFactory', ['class' => 'fproject\\workflow\\core\\ArrayWorkflowItemFactory', 'workflowSourceNamespace' => 'tests\\codeception\\unit\\models']); Item06Behavior::$maxPostCount = 2; Item06Behavior::$countPost = 0; Item06Behavior::$countPostToCorrect = 0; Item06Behavior::$countPostCorrected = 0; }