mirror of https://github.com/FriendsOfTYPO3/tea.git synced 2024-11-09 23:56:14 +01:00

[TASK] Use unique and more realistic test data in the unit tests (#1206)

Fixes #1204
This commit is contained in:
Oliver Klee 2024-04-02 07:19:31 +02:00 committed by GitHub
parent b68a1886fb
commit d65598e8fa
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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());