From 49c6f7077d558c1e8aa897d1cba2292a8def94d5 Mon Sep 17 00:00:00 2001 From: Sean Molenaar Date: Sun, 4 Oct 2020 21:33:03 +0200 Subject: Define microtime as string Closes #835 Signed-off-by: Sean Molenaar --- tests/Unit/Service/ItemServiceTest.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tests') diff --git a/tests/Unit/Service/ItemServiceTest.php b/tests/Unit/Service/ItemServiceTest.php index c98ac2c33..98c97b31f 100644 --- a/tests/Unit/Service/ItemServiceTest.php +++ b/tests/Unit/Service/ItemServiceTest.php @@ -62,14 +62,14 @@ class ItemServiceTest extends TestCase private $newestItemId; /** - * @var int + * @var string */ private $time; protected function setUp(): void { - $this->time = 222; + $this->time = '222'; $this->timeFactory = $this->getMockBuilder(Time::class) ->disableOriginalConstructor() ->getMock(); -- cgit v1.2.3