/** * Tear down */ protected function tearDown() { $mail = $this->repo->findOneBy(array('name' => 'Testmail123')); if (!empty($mail)) { $this->em->remove($mail); $this->em->flush(); } parent::tearDown(); }
/** * 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(); }
/** * 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(); }
/** * Tear down */ protected function tearDown() { $voucher = $this->repo->findOneBy(array('description' => 'description')); if (!empty($voucher)) { $this->em->remove($voucher); $this->em->flush(); } parent::tearDown(); }
/** * Cleaning up testData */ protected function tearDown() { parent::tearDown(); $this->module->sDeleteComparisons(); }
/** * Tearing down * * @return void */ public function tearDown() { parent::tearDown(); }
protected function tearDown() { $this->helper->cleanUp(); parent::tearDown(); }