diff options
author | Joas Schilling <nickvergessen@owncloud.com> | 2016-03-11 10:39:42 +0100 |
---|---|---|
committer | Joas Schilling <nickvergessen@owncloud.com> | 2016-03-11 13:59:19 +0100 |
commit | b4affa4d273df89c9e45da2ecebae4663b927a56 (patch) | |
tree | d86bc0be307bef85802e0cb822b93c9c1280ed24 /build | |
parent | 0f214017d2d819cc54e7fc37c327e6f5c8dc2f2d (diff) | |
download | nextcloud-server-b4affa4d273df89c9e45da2ecebae4663b927a56.tar.gz nextcloud-server-b4affa4d273df89c9e45da2ecebae4663b927a56.zip |
Add docs for CalDavContext
Diffstat (limited to 'build')
-rw-r--r-- | build/integration/features/bootstrap/CalDavContext.php | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/build/integration/features/bootstrap/CalDavContext.php b/build/integration/features/bootstrap/CalDavContext.php index 88711f3aa73..30c50630b3e 100644 --- a/build/integration/features/bootstrap/CalDavContext.php +++ b/build/integration/features/bootstrap/CalDavContext.php @@ -71,6 +71,8 @@ class CalDavContext implements \Behat\Behat\Context\Context { /** * @When :user requests calendar :calendar + * @param string $user + * @param string $calendar */ public function requestsCalendar($user, $calendar) { $davUrl = $this->baseUrl . '/remote.php/dav/calendars/'.$calendar; @@ -93,6 +95,8 @@ class CalDavContext implements \Behat\Behat\Context\Context { /** * @Then The CalDAV HTTP status code should be :code + * @param int $code + * @throws \Exception */ public function theCaldavHttpStatusCodeShouldBe($code) { if((int)$code !== $this->response->getStatusCode()) { @@ -115,6 +119,8 @@ class CalDavContext implements \Behat\Behat\Context\Context { /** * @Then The exception is :message + * @param string $message + * @throws \Exception */ public function theExceptionIs($message) { $result = $this->responseXml['value'][0]['value']; @@ -132,6 +138,8 @@ class CalDavContext implements \Behat\Behat\Context\Context { /** * @Then The error message is :message + * @param string $message + * @throws \Exception */ public function theErrorMessageIs($message) { $result = $this->responseXml['value'][1]['value']; @@ -149,6 +157,8 @@ class CalDavContext implements \Behat\Behat\Context\Context { /** * @Given :user creates a calendar named :name + * @param string $user + * @param string $name */ public function createsACalendarNamed($user, $name) { $davUrl = $this->baseUrl . '/remote.php/dav/calendars/'.$user.'/'.$name; |