mirror of
https://github.com/FriendsOfTYPO3/tea.git
synced 2024-11-22 11:36:14 +01:00
[TASK] Rework a test communicate its purpose more clearly (#1133)
When the ordering of items (by title) is verified, checking the title instead of the UID makes this more clear. Fixes #1132
This commit is contained in:
parent
9df4171031
commit
fe79124c0e
1 changed files with 1 additions and 1 deletions
|
@ -178,6 +178,6 @@ final class TeaRepositoryTest extends FunctionalTestCase
|
||||||
$result = $this->subject->findByOwnerUid(1);
|
$result = $this->subject->findByOwnerUid(1);
|
||||||
|
|
||||||
$result->rewind();
|
$result->rewind();
|
||||||
self::assertSame(2, $result->current()->getUid());
|
self::assertSame('Assam', $result->current()->getTitle());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue