public function setUp()
 {
     $this->setBootstrap(__DIR__ . '/../../BootstrapSMTP.php')->setEmAlias('doctrine.entitymanager.orm_default');
     try {
         parent::setUp();
     } catch (\Exception $e) {
     }
     $this->setUpSchema();
 }
Beispiel #2
0
 public function setUp()
 {
     $this->setBootstrap(__DIR__ . '/../../../../../bootstrap.php')->setEmAlias('doctrine.entitymanager.orm_default')->setTmpDir('tmp');
     parent::setUp();
     $this->repo = $this->em->getRepository('Heartsentwined\\Cron\\Entity\\Job');
 }
Beispiel #3
0
 public function setUp()
 {
     $this->setBootstrap(__DIR__ . '/../../../../../bootstrap.php')->setEmAlias('doctrine.entitymanager.orm_default')->setTmpDir('tmp');
     parent::setUp();
     $this->cron = $this->sm->get('cron')->setEm($this->em);
 }
Beispiel #4
0
 public function setUp()
 {
     $this->setBootstrap(__DIR__ . '/../../../../../bootstrap.php')->setEmAlias('doctrine.entitymanager.orm_default')->setTmpDir('tmp');
     parent::setUp();
     $this->exporter = $this->sm->get('vcard-exporter')->setEm($this->em)->setDateTimeParser($this->sm->get('Heartsentwined\\DateTimeParser\\Parser'));
 }