mirror of
https://github.com/FriendsOfTYPO3/tea.git
synced 2024-11-10 00:36:13 +01:00
Add @return void annotation to test methods
This commit is contained in:
parent
de5e6711f6
commit
bb52944347
1 changed files with 3 additions and 1 deletions
|
@ -46,6 +46,7 @@ class AdditionTest extends \TYPO3\CMS\Extbase\Tests\Unit\BaseTestCase {
|
|||
|
||||
/**
|
||||
* @test
|
||||
* @return void
|
||||
*/
|
||||
public function getTitleInitiallyReturnsEmptyString() {
|
||||
$this->assertSame(
|
||||
|
@ -56,6 +57,7 @@ class AdditionTest extends \TYPO3\CMS\Extbase\Tests\Unit\BaseTestCase {
|
|||
|
||||
/**
|
||||
* @test
|
||||
* @return void
|
||||
*/
|
||||
public function setTitleSetsTitle() {
|
||||
$this->subject->setTitle('foo bar');
|
||||
|
@ -65,4 +67,4 @@ class AdditionTest extends \TYPO3\CMS\Extbase\Tests\Unit\BaseTestCase {
|
|||
$this->subject->getTitle()
|
||||
);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue