summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIgor Scheller <igor.scheller@igorshp.de>2019-06-12 02:46:13 +0200
committerIgor Scheller <igor.scheller@igorshp.de>2019-06-12 02:56:18 +0200
commit1f433694d25fc6d9e9d82ae725b618531b313aac (patch)
tree6177be3a8d07446fc87f3220a733e51ff7887ca4
parent0458ce95097f97a3469db48bd6f655c8dd3d4674 (diff)
Tests: Fix type warning
-rw-r--r--tests/Unit/Controllers/Metrics/ControllerTest.php2
1 files changed, 1 insertions, 1 deletions
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);