mirror of
https://github.com/FriendsOfTYPO3/tea.git
synced 2024-11-22 19:56:13 +01:00
Add @return void annotation to test methods
This commit is contained in:
parent
956e8b5a09
commit
a64094be3d
1 changed files with 7 additions and 1 deletions
|
@ -46,6 +46,7 @@ class TestimonialTest extends \TYPO3\CMS\Extbase\Tests\Unit\BaseTestCase {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @test
|
* @test
|
||||||
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function getDateOfPostingInitiallyReturnsNull() {
|
public function getDateOfPostingInitiallyReturnsNull() {
|
||||||
$this->assertNull(
|
$this->assertNull(
|
||||||
|
@ -55,6 +56,7 @@ class TestimonialTest extends \TYPO3\CMS\Extbase\Tests\Unit\BaseTestCase {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @test
|
* @test
|
||||||
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function setDateOfPostingSetsDateOfPosting() {
|
public function setDateOfPostingSetsDateOfPosting() {
|
||||||
$date = new \DateTime();
|
$date = new \DateTime();
|
||||||
|
@ -68,6 +70,7 @@ class TestimonialTest extends \TYPO3\CMS\Extbase\Tests\Unit\BaseTestCase {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @test
|
* @test
|
||||||
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function getNumberOfConsumedCupsInitiallyReturnsZero() {
|
public function getNumberOfConsumedCupsInitiallyReturnsZero() {
|
||||||
$this->assertSame(
|
$this->assertSame(
|
||||||
|
@ -78,6 +81,7 @@ class TestimonialTest extends \TYPO3\CMS\Extbase\Tests\Unit\BaseTestCase {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @test
|
* @test
|
||||||
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function setNumberOfConsumedCupsSetsNumberOfConsumedCups() {
|
public function setNumberOfConsumedCupsSetsNumberOfConsumedCups() {
|
||||||
$this->subject->setNumberOfConsumedCups(123456);
|
$this->subject->setNumberOfConsumedCups(123456);
|
||||||
|
@ -90,6 +94,7 @@ class TestimonialTest extends \TYPO3\CMS\Extbase\Tests\Unit\BaseTestCase {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @test
|
* @test
|
||||||
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function getTextInitiallyReturnsEmptyString() {
|
public function getTextInitiallyReturnsEmptyString() {
|
||||||
$this->assertSame(
|
$this->assertSame(
|
||||||
|
@ -100,6 +105,7 @@ class TestimonialTest extends \TYPO3\CMS\Extbase\Tests\Unit\BaseTestCase {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @test
|
* @test
|
||||||
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function setTextSetsText() {
|
public function setTextSetsText() {
|
||||||
$this->subject->setText('foo bar');
|
$this->subject->setText('foo bar');
|
||||||
|
|
Loading…
Reference in a new issue