diff options
author | Igor Scheller <igor.scheller@igorshp.de> | 2019-06-12 02:46:13 +0200 |
---|---|---|
committer | Igor Scheller <igor.scheller@igorshp.de> | 2019-06-12 02:56:18 +0200 |
commit | 1f433694d25fc6d9e9d82ae725b618531b313aac (patch) | |
tree | 6177be3a8d07446fc87f3220a733e51ff7887ca4 /tests/Unit | |
parent | 0458ce95097f97a3469db48bd6f655c8dd3d4674 (diff) |
Tests: Fix type warning
Diffstat (limited to 'tests/Unit')
-rw-r--r-- | tests/Unit/Controllers/Metrics/ControllerTest.php | 2 |
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); |