Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoeland Jago Douma <roeland@famdouma.nl>2021-01-12 12:10:08 +0300
committerRoeland Jago Douma <roeland@famdouma.nl>2021-01-12 12:51:41 +0300
commit9b58a027e3312d14ee3cd724841ae32af481d03c (patch)
tree2b20ae593d4cecdbe5e3ac89250a21f57da9c5ee /tests/lib/InstallerTest.php
parentc8cbb73c05714f035eb63fe91873fc43e0557f1c (diff)
Allow installing/updating of apps again
The Guzzle API changed. We shall now use sink Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
Diffstat (limited to 'tests/lib/InstallerTest.php')
-rw-r--r--tests/lib/InstallerTest.php10
1 files changed, 5 insertions, 5 deletions
diff --git a/tests/lib/InstallerTest.php b/tests/lib/InstallerTest.php
index 58602a7cf58..2626e047c74 100644
--- a/tests/lib/InstallerTest.php
+++ b/tests/lib/InstallerTest.php
@@ -348,7 +348,7 @@ u/spPSSVhaun5BA1FlphB2TkgnzlCmxJa63nFY045e/Jq+IKMcqqZl/092gbI2EQ
$client
->expects($this->once())
->method('get')
- ->with('https://example.com', ['save_to' => $realTmpFile, 'timeout' => 120]);
+ ->with('https://example.com', ['sink' => $realTmpFile, 'timeout' => 120]);
$this->clientService
->expects($this->once())
->method('newClient')
@@ -432,7 +432,7 @@ YwDVP+QmNRzx72jtqAN/Kc3CvQ9nkgYhU65B95aX0xA=',
$client
->expects($this->once())
->method('get')
- ->with('https://example.com', ['save_to' => $realTmpFile, 'timeout' => 120]);
+ ->with('https://example.com', ['sink' => $realTmpFile, 'timeout' => 120]);
$this->clientService
->expects($this->once())
->method('newClient')
@@ -515,7 +515,7 @@ YwDVP+QmNRzx72jtqAN/Kc3CvQ9nkgYhU65B95aX0xA=',
$client
->expects($this->once())
->method('get')
- ->with('https://example.com', ['save_to' => $realTmpFile, 'timeout' => 120]);
+ ->with('https://example.com', ['sink' => $realTmpFile, 'timeout' => 120]);
$this->clientService
->expects($this->once())
->method('newClient')
@@ -594,7 +594,7 @@ MPLX6f5V9tCJtlH6ztmEcDROfvuVc0U3rEhqx2hphoyo+MZrPFpdcJL8KkIdMKbY
$client
->expects($this->once())
->method('get')
- ->with('https://example.com', ['save_to' => $realTmpFile, 'timeout' => 120]);
+ ->with('https://example.com', ['sink' => $realTmpFile, 'timeout' => 120]);
$this->clientService
->expects($this->at(0))
->method('newClient')
@@ -680,7 +680,7 @@ JXhrdaWDZ8fzpUjugrtC3qslsqL0dzgU37anS3HwrT8=',
$client
->expects($this->once())
->method('get')
- ->with('https://example.com', ['save_to' => $realTmpFile, 'timeout' => 120]);
+ ->with('https://example.com', ['sink' => $realTmpFile, 'timeout' => 120]);
$this->clientService
->expects($this->at(1))
->method('newClient')