mirror of
https://github.com/FriendsOfTYPO3/tea.git
synced 2024-11-22 14:16:12 +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
|
* @test
|
||||||
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function getTitleInitiallyReturnsEmptyString() {
|
public function getTitleInitiallyReturnsEmptyString() {
|
||||||
$this->assertSame(
|
$this->assertSame(
|
||||||
|
@ -56,6 +57,7 @@ class AdditionTest extends \TYPO3\CMS\Extbase\Tests\Unit\BaseTestCase {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @test
|
* @test
|
||||||
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function setTitleSetsTitle() {
|
public function setTitleSetsTitle() {
|
||||||
$this->subject->setTitle('foo bar');
|
$this->subject->setTitle('foo bar');
|
||||||
|
@ -65,4 +67,4 @@ class AdditionTest extends \TYPO3\CMS\Extbase\Tests\Unit\BaseTestCase {
|
||||||
$this->subject->getTitle()
|
$this->subject->getTitle()
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue