From 1f433694d25fc6d9e9d82ae725b618531b313aac Mon Sep 17 00:00:00 2001 From: Igor Scheller Date: Wed, 12 Jun 2019 02:46:13 +0200 Subject: [PATCH] Tests: Fix type warning --- tests/Unit/Controllers/Metrics/ControllerTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/Unit/Controllers/Metrics/ControllerTest.php b/tests/Unit/Controllers/Metrics/ControllerTest.php index 381e00f2..18daa96a 100644 --- a/tests/Unit/Controllers/Metrics/ControllerTest.php +++ b/tests/Unit/Controllers/Metrics/ControllerTest.php @@ -163,7 +163,7 @@ class ControllerTest extends TestCase $stats->expects($this->once()) ->method('workSeconds') ->with(true) - ->willReturn(60 * 60 * 99.47); + ->willReturn((int)(60 * 60 * 99.47)); $this->setExpects($stats, 'newUsers', null, 3); $this->setExpects($stats, 'arrivedUsers', null, 10, $this->exactly(2)); $this->setExpects($stats, 'currentlyWorkingUsers', null, 5);