From fe79124c0e7eb97b33dd580a587918347bd2816b Mon Sep 17 00:00:00 2001 From: Oliver Klee Date: Wed, 24 Jan 2024 07:38:51 +0100 Subject: [PATCH] [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 --- Tests/Functional/Domain/Repository/TeaRepositoryTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Tests/Functional/Domain/Repository/TeaRepositoryTest.php b/Tests/Functional/Domain/Repository/TeaRepositoryTest.php index 3ef2f33..533b42a 100644 --- a/Tests/Functional/Domain/Repository/TeaRepositoryTest.php +++ b/Tests/Functional/Domain/Repository/TeaRepositoryTest.php @@ -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()); } }