Tests: Fix type warning

This commit is contained in:
Igor Scheller 2019-06-12 02:46:13 +02:00
parent 0458ce9509
commit 1f433694d2
1 changed files with 1 additions and 1 deletions

View File

@ -163,7 +163,7 @@ class ControllerTest extends TestCase
$stats->expects($this->once()) $stats->expects($this->once())
->method('workSeconds') ->method('workSeconds')
->with(true) ->with(true)
->willReturn(60 * 60 * 99.47); ->willReturn((int)(60 * 60 * 99.47));
$this->setExpects($stats, 'newUsers', null, 3); $this->setExpects($stats, 'newUsers', null, 3);
$this->setExpects($stats, 'arrivedUsers', null, 10, $this->exactly(2)); $this->setExpects($stats, 'arrivedUsers', null, 10, $this->exactly(2));
$this->setExpects($stats, 'currentlyWorkingUsers', null, 5); $this->setExpects($stats, 'currentlyWorkingUsers', null, 5);