mirror of
https://github.com/FriendsOfTYPO3/tea.git
synced 2024-11-26 07:16:12 +01:00
[CLEANUP] Drop the unset from tearDown()
This commit is contained in:
parent
cb2d55f4b8
commit
3db3e7af04
7 changed files with 0 additions and 28 deletions
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue