Adjust unit test for #19017
Signed-off-by: Joas Schilling <coding@schilljs.com>
This commit is contained in:
parent
c7e81c2c52
commit
827f3228a3
1 changed files with 12 additions and 12 deletions
|
@ -347,7 +347,7 @@ u/spPSSVhaun5BA1FlphB2TkgnzlCmxJa63nFY045e/Jq+IKMcqqZl/092gbI2EQ
|
||||||
$client
|
$client
|
||||||
->expects($this->once())
|
->expects($this->once())
|
||||||
->method('get')
|
->method('get')
|
||||||
->with('https://example.com', ['save_to' => $realTmpFile]);
|
->with('https://example.com', ['save_to' => $realTmpFile, 'timeout' => 120]);
|
||||||
$this->clientService
|
$this->clientService
|
||||||
->expects($this->once())
|
->expects($this->once())
|
||||||
->method('newClient')
|
->method('newClient')
|
||||||
|
@ -431,7 +431,7 @@ YwDVP+QmNRzx72jtqAN/Kc3CvQ9nkgYhU65B95aX0xA=',
|
||||||
$client
|
$client
|
||||||
->expects($this->once())
|
->expects($this->once())
|
||||||
->method('get')
|
->method('get')
|
||||||
->with('https://example.com', ['save_to' => $realTmpFile]);
|
->with('https://example.com', ['save_to' => $realTmpFile, 'timeout' => 120]);
|
||||||
$this->clientService
|
$this->clientService
|
||||||
->expects($this->once())
|
->expects($this->once())
|
||||||
->method('newClient')
|
->method('newClient')
|
||||||
|
@ -514,7 +514,7 @@ YwDVP+QmNRzx72jtqAN/Kc3CvQ9nkgYhU65B95aX0xA=',
|
||||||
$client
|
$client
|
||||||
->expects($this->once())
|
->expects($this->once())
|
||||||
->method('get')
|
->method('get')
|
||||||
->with('https://example.com', ['save_to' => $realTmpFile]);
|
->with('https://example.com', ['save_to' => $realTmpFile, 'timeout' => 120]);
|
||||||
$this->clientService
|
$this->clientService
|
||||||
->expects($this->once())
|
->expects($this->once())
|
||||||
->method('newClient')
|
->method('newClient')
|
||||||
|
@ -593,7 +593,7 @@ MPLX6f5V9tCJtlH6ztmEcDROfvuVc0U3rEhqx2hphoyo+MZrPFpdcJL8KkIdMKbY
|
||||||
$client
|
$client
|
||||||
->expects($this->once())
|
->expects($this->once())
|
||||||
->method('get')
|
->method('get')
|
||||||
->with('https://example.com', ['save_to' => $realTmpFile]);
|
->with('https://example.com', ['save_to' => $realTmpFile, 'timeout' => 120]);
|
||||||
$this->clientService
|
$this->clientService
|
||||||
->expects($this->at(0))
|
->expects($this->at(0))
|
||||||
->method('newClient')
|
->method('newClient')
|
||||||
|
@ -679,7 +679,7 @@ JXhrdaWDZ8fzpUjugrtC3qslsqL0dzgU37anS3HwrT8=',
|
||||||
$client
|
$client
|
||||||
->expects($this->once())
|
->expects($this->once())
|
||||||
->method('get')
|
->method('get')
|
||||||
->with('https://example.com', ['save_to' => $realTmpFile]);
|
->with('https://example.com', ['save_to' => $realTmpFile, 'timeout' => 120]);
|
||||||
$this->clientService
|
$this->clientService
|
||||||
->expects($this->at(1))
|
->expects($this->at(1))
|
||||||
->method('newClient')
|
->method('newClient')
|
||||||
|
|
Loading…
Reference in a new issue