summaryrefslogtreecommitdiffstats
path: root/build/integration/features/bootstrap/CalDavContext.php
diff options
context:
space:
mode:
authorMorris Jobke <hey@morrisjobke.de>2018-02-14 22:26:19 +0100
committerGitHub <noreply@github.com>2018-02-14 22:26:19 +0100
commit24f96513fde993268c1286ded393252020d4f9ae (patch)
tree4da55bdec980bc7ecf6452fce1e4d3515f5be9eb /build/integration/features/bootstrap/CalDavContext.php
parent236086c457672742eb3ff57acf66587549b69345 (diff)
parenta815185bb4960312b6e15cda236db09d8ca72c01 (diff)
downloadnextcloud-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 'build/integration/features/bootstrap/CalDavContext.php')
-rw-r--r--build/integration/features/bootstrap/CalDavContext.php11
1 files changed, 3 insertions, 8 deletions
diff --git a/build/integration/features/bootstrap/CalDavContext.php b/build/integration/features/bootstrap/CalDavContext.php
index 27f26b20fbe..cbd29a4fbff 100644
--- a/build/integration/features/bootstrap/CalDavContext.php
+++ b/build/integration/features/bootstrap/CalDavContext.php
@@ -83,7 +83,7 @@ class CalDavContext implements \Behat\Behat\Context\Context {
$password = ($user === 'admin') ? 'admin' : '123456';
try {
- $request = $this->client->createRequest(
+ $this->response = $this->client->request(
'PROPFIND',
$davUrl,
[
@@ -93,7 +93,6 @@ class CalDavContext implements \Behat\Behat\Context\Context {
],
]
);
- $this->response = $this->client->send($request);
} catch (\GuzzleHttp\Exception\ClientException $e) {
$this->response = $e->getResponse();
}
@@ -170,7 +169,7 @@ class CalDavContext implements \Behat\Behat\Context\Context {
$davUrl = $this->baseUrl . '/remote.php/dav/calendars/'.$user.'/'.$name;
$password = ($user === 'admin') ? 'admin' : '123456';
- $request = $this->client->createRequest(
+ $this->response = $this->client->request(
'MKCALENDAR',
$davUrl,
[
@@ -181,8 +180,6 @@ class CalDavContext implements \Behat\Behat\Context\Context {
],
]
);
-
- $this->response = $this->client->send($request);
}
/**
@@ -195,7 +192,7 @@ class CalDavContext implements \Behat\Behat\Context\Context {
$davUrl = $this->baseUrl . '/remote.php/dav/calendars/'.$user.'/'.$name;
$password = ($user === 'admin') ? 'admin' : '123456';
- $request = $this->client->createRequest(
+ $this->response = $this->client->request(
'POST',
$davUrl,
[
@@ -209,8 +206,6 @@ class CalDavContext implements \Behat\Behat\Context\Context {
],
]
);
-
- $this->response = $this->client->send($request);
}
/**