Esempio n. 1
0
 public function tearDown()
 {
     if ($this->em) {
         $this->em->getConnection()->query('DROP TABLE IF EXISTS test_mailQueue');
     }
     parent::tearDown();
 }
Esempio n. 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');
 }
Esempio n. 3
0
 public function tearDown()
 {
     Registry::destroy();
     unset($this->cron);
     parent::tearDown();
 }
Esempio n. 4
0
 public function tearDown()
 {
     $this->exporter = null;
     parent::tearDown();
 }