Fixed logentryRepositoryTest

It seems that this was always wrong, but this was never noticed, because normally the log timestamps are all the same
This commit is contained in:
Jan Böhmer 2025-08-31 22:51:47 +02:00
parent 1156bb52af
commit 17f123ba8a

View file

@ -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