diff options
author | Morris Jobke <hey@morrisjobke.de> | 2018-02-14 22:26:19 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-02-14 22:26:19 +0100 |
commit | 24f96513fde993268c1286ded393252020d4f9ae (patch) | |
tree | 4da55bdec980bc7ecf6452fce1e4d3515f5be9eb /tests/Settings | |
parent | 236086c457672742eb3ff57acf66587549b69345 (diff) | |
parent | a815185bb4960312b6e15cda236db09d8ca72c01 (diff) | |
download | nextcloud-server-24f96513fde993268c1286ded393252020d4f9ae.tar.gz nextcloud-server-24f96513fde993268c1286ded393252020d4f9ae.zip |
Merge pull request #8259 from nextcloud/guzzle6
update guzzlehttp/guzzle to 6.3.0
Diffstat (limited to 'tests/Settings')
-rw-r--r-- | tests/Settings/Controller/CheckSetupControllerTest.php | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/tests/Settings/Controller/CheckSetupControllerTest.php b/tests/Settings/Controller/CheckSetupControllerTest.php index 3f47819bcbd..a0ee7f6cae6 100644 --- a/tests/Settings/Controller/CheckSetupControllerTest.php +++ b/tests/Settings/Controller/CheckSetupControllerTest.php @@ -21,6 +21,7 @@ namespace Tests\Settings\Controller; +use Guzzle\Http\Message\Response; use OC\Settings\Controller\CheckSetupController; use OCP\AppFramework\Http; use OCP\AppFramework\Http\DataDisplayResponse; @@ -460,7 +461,7 @@ class CheckSetupControllerTest extends TestCase { ->disableOriginalConstructor()->getMock(); $exception = $this->getMockBuilder('\GuzzleHttp\Exception\ClientException') ->disableOriginalConstructor()->getMock(); - $response = $this->getMockBuilder('\GuzzleHttp\Message\ResponseInterface') + $response = $this->getMockBuilder(Response::class) ->disableOriginalConstructor()->getMock(); $response->expects($this->once()) ->method('getStatusCode') @@ -494,7 +495,7 @@ class CheckSetupControllerTest extends TestCase { ->disableOriginalConstructor()->getMock(); $exception = $this->getMockBuilder('\GuzzleHttp\Exception\ClientException') ->disableOriginalConstructor()->getMock(); - $response = $this->getMockBuilder('\GuzzleHttp\Message\ResponseInterface') + $response = $this->getMockBuilder(Response::class) ->disableOriginalConstructor()->getMock(); $response->expects($this->once()) ->method('getStatusCode') |