From 17f123ba8ae75cd28b79d6aa8735b42c34abb1d9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jan=20B=C3=B6hmer?= Date: Sun, 31 Aug 2025 22:51:47 +0200 Subject: [PATCH] Fixed logentryRepositoryTest It seems that this was always wrong, but this was never noticed, because normally the log timestamps are all the same --- tests/Repository/LogEntryRepositoryTest.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/Repository/LogEntryRepositoryTest.php b/tests/Repository/LogEntryRepositoryTest.php index fc31faf5..f6cc991d 100644 --- a/tests/Repository/LogEntryRepositoryTest.php +++ b/tests/Repository/LogEntryRepositoryTest.php @@ -112,7 +112,8 @@ class LogEntryRepositoryTest extends KernelTestCase $this->assertCount(2, $logs); //The first one must be newer than the second one - $this->assertGreaterThanOrEqual($logs[0]->getTimestamp(), $logs[1]->getTimestamp()); + $this->assertGreaterThanOrEqual($logs[1]->getTimestamp(), $logs[0]->getTimestamp()); + $this->assertGreaterThanOrEqual($logs[1]->getID(), $logs[0]->getID()); } public function testGetElementExistedAtTimestamp(): void