From cf758624464ee9e8ef8ee1c9bc0f63f11fba4d38 Mon Sep 17 00:00:00 2001 From: Fran Moreno Date: Sun, 11 Apr 2021 10:22:35 +0200 Subject: [PATCH] Fix Revision instantiation --- tests/Block/AuditBlockServiceTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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())