mirror of https://github.com/FriendsOfTYPO3/tea.git synced 2024-12-22 18:06:10 +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:
Oliver Klee 2024-01-24 07:38:51 +01:00 committed by GitHub
parent 9df4171031
commit fe79124c0e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -178,6 +178,6 @@ final class TeaRepositoryTest extends FunctionalTestCase
$result = $this->subject->findByOwnerUid(1);
$result->rewind();
self::assertSame(2, $result->current()->getUid());
self::assertSame('Assam', $result->current()->getTitle());
}
}