mirror of
https://github.com/FriendsOfTYPO3/tea.git
synced 2024-11-22 13:56:13 +01:00
Add @return void annotation to test methods
This commit is contained in:
parent
64303b35b2
commit
9343053ab6
1 changed files with 3 additions and 1 deletions
|
@ -70,6 +70,7 @@ class TestimonialControllerTest extends \TYPO3\CMS\Extbase\Tests\Unit\BaseTestCa
|
|||
|
||||
/**
|
||||
* @test
|
||||
* @return void
|
||||
*/
|
||||
public function indexActionCanBeCalled() {
|
||||
$this->subject->indexAction();
|
||||
|
@ -77,6 +78,7 @@ class TestimonialControllerTest extends \TYPO3\CMS\Extbase\Tests\Unit\BaseTestCa
|
|||
|
||||
/**
|
||||
* @test
|
||||
* @return void
|
||||
*/
|
||||
public function indexActionPassesAllTestimonialsAsTestimonialsToView() {
|
||||
$allTestimonials = new ObjectStorage();
|
||||
|
@ -87,4 +89,4 @@ class TestimonialControllerTest extends \TYPO3\CMS\Extbase\Tests\Unit\BaseTestCa
|
|||
|
||||
$this->subject->indexAction();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue