コード例 #1
0
 protected function setUp()
 {
     parent::setUp();
     $this->repo = $this->om->getRepository('HeVinciCompetencyBundle:Objective');
     $this->context = $this->persistContext();
     $this->om->flush();
 }
コード例 #2
0
 protected function setUp()
 {
     parent::setUp();
     $this->manager = $this->client->getContainer()->get('hevinci.competency.progress_manager');
     $this->abilityProgressRepo = $this->om->getRepository('HeVinciCompetencyBundle:Progress\\AbilityProgress');
     $this->competencyProgressRepo = $this->om->getRepository('HeVinciCompetencyBundle:Progress\\CompetencyProgress');
     $this->competencyProgressLogRepo = $this->om->getRepository('HeVinciCompetencyBundle:Progress\\CompetencyProgressLog');
     $this->objectiveProgressRepo = $this->om->getRepository('HeVinciCompetencyBundle:Progress\\ObjectiveProgress');
     $this->objectiveProgressLogRepo = $this->om->getRepository('HeVinciCompetencyBundle:Progress\\ObjectiveProgressLog');
     $this->userProgressRepo = $this->om->getRepository('HeVinciCompetencyBundle:Progress\\UserProgress');
     $this->userProgressLogRepo = $this->om->getRepository('HeVinciCompetencyBundle:Progress\\UserProgressLog');
     $this->testUser = $this->persistUser('jdoe');
     $this->testData = [];
 }
コード例 #3
0
 protected function setUp()
 {
     parent::setUp();
     $this->repo = $this->om->getRepository('HeVinciCompetencyBundle:Scale');
 }
コード例 #4
0
 protected function setUp()
 {
     parent::setUp();
     $this->validator = $this->client->getContainer()->get('hevinci.competency.data_conflict_validator');
 }