mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2026-03-06 15:30:13 +01:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user