mirror of https://github.com/FriendsOfTYPO3/tea.git synced 2024-11-22 15:36:13 +01:00

[CLEANUP] Drop the unset from tearDown()

This commit is contained in:
Oliver Klee 2014-12-14 21:34:16 +01:00
parent cb2d55f4b8
commit 3db3e7af04
7 changed files with 0 additions and 28 deletions

View file

@ -52,10 +52,6 @@ class TestimonialControllerTest extends \TYPO3\CMS\Core\Tests\UnitTestCase {
$this->subject->injectTestimonialRepository($this->testimonialRepository); $this->subject->injectTestimonialRepository($this->testimonialRepository);
} }
protected function tearDown() {
unset($this->subject, $this->view, $this->testimonialRepository);
}
/** /**
* @test * @test
* @return void * @return void

View file

@ -29,10 +29,6 @@ class AdditionTest extends \TYPO3\CMS\Core\Tests\UnitTestCase {
$this->subject = new \OliverKlee\Tea\Domain\Model\Addition(); $this->subject = new \OliverKlee\Tea\Domain\Model\Addition();
} }
protected function tearDown() {
unset($this->subject);
}
/** /**
* @test * @test
* @return void * @return void

View file

@ -29,10 +29,6 @@ class TeaBeverageTest extends \TYPO3\CMS\Core\Tests\UnitTestCase {
$this->subject = new \OliverKlee\Tea\Domain\Model\TeaBeverage(); $this->subject = new \OliverKlee\Tea\Domain\Model\TeaBeverage();
} }
protected function tearDown() {
unset($this->subject);
}
/** /**
* @test * @test
* @return void * @return void

View file

@ -29,10 +29,6 @@ class TeaTypeTest extends \TYPO3\CMS\Core\Tests\UnitTestCase {
$this->subject = new \OliverKlee\Tea\Domain\Model\TeaType(); $this->subject = new \OliverKlee\Tea\Domain\Model\TeaType();
} }
protected function tearDown() {
unset($this->subject);
}
/** /**
* @test * @test
* @return void * @return void

View file

@ -29,10 +29,6 @@ class TestimonialTest extends \TYPO3\CMS\Core\Tests\UnitTestCase {
$this->subject = new \OliverKlee\Tea\Domain\Model\Testimonial(); $this->subject = new \OliverKlee\Tea\Domain\Model\Testimonial();
} }
protected function tearDown() {
unset($this->subject);
}
/** /**
* @test * @test
* @return void * @return void

View file

@ -36,10 +36,6 @@ class TeaBeverageRepositoryTest extends \TYPO3\CMS\Core\Tests\UnitTestCase {
$this->subject = new \OliverKlee\Tea\Domain\Repository\TeaBeverageRepository($this->objectManager); $this->subject = new \OliverKlee\Tea\Domain\Repository\TeaBeverageRepository($this->objectManager);
} }
protected function tearDown() {
unset($this->subject, $this->objectManager);
}
/** /**
* @test * @test
* @return void * @return void

View file

@ -36,10 +36,6 @@ class TestimonialRepositoryTest extends \TYPO3\CMS\Core\Tests\UnitTestCase {
$this->subject = new \OliverKlee\Tea\Domain\Repository\TestimonialRepository($this->objectManager); $this->subject = new \OliverKlee\Tea\Domain\Repository\TestimonialRepository($this->objectManager);
} }
protected function tearDown() {
unset($this->subject, $this->objectManager);
}
/** /**
* @test * @test
* @return void * @return void