mirror of
https://github.com/FriendsOfTYPO3/tea.git
synced 2024-11-22 09:16:22 +01:00
[TASK] Use unique and more realistic test data in the unit tests (#1206)
Fixes #1204
This commit is contained in:
parent
b68a1886fb
commit
d65598e8fa
1 changed files with 2 additions and 2 deletions
|
@ -44,7 +44,7 @@ final class TeaTest extends UnitTestCase
|
||||||
*/
|
*/
|
||||||
public function setTitleSetsTitle(): void
|
public function setTitleSetsTitle(): void
|
||||||
{
|
{
|
||||||
$value = 'Club-Mate';
|
$value = 'Earl Grey';
|
||||||
$this->subject->setTitle($value);
|
$this->subject->setTitle($value);
|
||||||
|
|
||||||
self::assertSame($value, $this->subject->getTitle());
|
self::assertSame($value, $this->subject->getTitle());
|
||||||
|
@ -63,7 +63,7 @@ final class TeaTest extends UnitTestCase
|
||||||
*/
|
*/
|
||||||
public function setDescriptionSetsDescription(): void
|
public function setDescriptionSetsDescription(): void
|
||||||
{
|
{
|
||||||
$value = 'Club-Mate';
|
$value = 'Very refreshing and amoratic.';
|
||||||
$this->subject->setDescription($value);
|
$this->subject->setDescription($value);
|
||||||
|
|
||||||
self::assertSame($value, $this->subject->getDescription());
|
self::assertSame($value, $this->subject->getDescription());
|
||||||
|
|
Loading…
Reference in a new issue