Signed-off-by: Joas Schilling <coding@schilljs.com>
$this->throttler
->expects($this->once())
->method('sleepDelay')
- ->with('192.168.0.1');
- $this->throttler
- ->expects($this->any())
- ->method('getDelay')
->with('192.168.0.1')
- ->willReturn(0);
+ ->willReturn(5);
$this->timeFactory
->expects($this->any())
->method('getTime')
$this->throttler
->expects($this->once())
->method('sleepDelay')
- ->with('192.168.0.1');
- $this->throttler
- ->expects($this->any())
- ->method('getDelay')
->with('192.168.0.1')
- ->willReturn(0);
+ ->willReturn(5);
$this->timeFactory
->expects($this->any())
->method('getTime')