diff --git a/tests/Block/AuditBlockServiceTest.php b/tests/Block/AuditBlockServiceTest.php index 0e97958f9..fa032561b 100644 --- a/tests/Block/AuditBlockServiceTest.php +++ b/tests/Block/AuditBlockServiceTest.php @@ -58,7 +58,7 @@ public function testExecute(): void ->expects($this->once()) ->method('findRevisionHistory') ->with($limit, 0) - ->willReturn([$revision = new Revision('test', '123', 'test')]); + ->willReturn([$revision = new Revision('test', new \DateTime(), 'test')]); $this->simpleThingsAuditReader ->expects($this->once())