mirror of
https://github.com/FriendsOfTYPO3/tea.git
synced 2024-11-22 18:16:13 +01:00
Merge pull request #1 from mostwanted1976/patch-1
[CLEANUP] Add @return void annotation to @test methods.
This commit is contained in:
commit
de5e6711f6
1 changed files with 5 additions and 1 deletions
|
@ -46,6 +46,7 @@ class TeaTypeTest 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 TeaTypeTest 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');
|
||||||
|
@ -68,6 +70,7 @@ class TeaTypeTest extends \TYPO3\CMS\Extbase\Tests\Unit\BaseTestCase {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @test
|
* @test
|
||||||
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function getCaffeinatedInitiallyReturnsFalse() {
|
public function getCaffeinatedInitiallyReturnsFalse() {
|
||||||
$this->assertSame(
|
$this->assertSame(
|
||||||
|
@ -78,6 +81,7 @@ class TeaTypeTest extends \TYPO3\CMS\Extbase\Tests\Unit\BaseTestCase {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @test
|
* @test
|
||||||
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function setCaffeinatedSetsCaffeinated() {
|
public function setCaffeinatedSetsCaffeinated() {
|
||||||
$this->subject->setCaffeinated(TRUE);
|
$this->subject->setCaffeinated(TRUE);
|
||||||
|
|
Loading…
Reference in a new issue