mirror of https://github.com/FriendsOfTYPO3/tea.git synced 2025-04-17 10:23:50 +02:00

[TASK] Rework a test communicate its purpose more clearly ()

When the ordering of items (by title) is verified, checking the
title instead of the UID makes this more clear.

Fixes 
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());
}
}