Exemplo n.º 1
0
 /**
  * Tear down
  */
 protected function tearDown()
 {
     $mail = $this->repo->findOneBy(array('name' => 'Testmail123'));
     if (!empty($mail)) {
         $this->em->remove($mail);
         $this->em->flush();
     }
     parent::tearDown();
 }
Exemplo n.º 2
0
 /**
  * Tear down
  */
 protected function tearDown()
 {
     $esd = $this->repo->findOneBy(array('file' => '../foobar.pdf'));
     if (!empty($esd)) {
         $this->em->remove($esd);
         $this->em->flush();
     }
     parent::tearDown();
 }
Exemplo n.º 3
0
 /**
  * Tear down
  */
 protected function tearDown()
 {
     $snippet = $this->repo->findOneBy(array('namespace' => 'unit/test/snippettestcase'));
     if (!empty($snippet)) {
         $this->em->remove($snippet);
         $this->em->flush();
     }
     parent::tearDown();
 }
Exemplo n.º 4
0
 /**
  * Tear down
  */
 protected function tearDown()
 {
     $voucher = $this->repo->findOneBy(array('description' => 'description'));
     if (!empty($voucher)) {
         $this->em->remove($voucher);
         $this->em->flush();
     }
     parent::tearDown();
 }
Exemplo n.º 5
0
 /**
  * Cleaning up testData
  */
 protected function tearDown()
 {
     parent::tearDown();
     $this->module->sDeleteComparisons();
 }
Exemplo n.º 6
0
 /**
  * Tearing down
  *
  * @return void
  */
 public function tearDown()
 {
     parent::tearDown();
 }
Exemplo n.º 7
0
 protected function tearDown()
 {
     $this->helper->cleanUp();
     parent::tearDown();
 }