Completed
Pull Request — master (#754)
by Julius
02:20
created
tests/features/bootstrap/FeatureContext.php 2 patches
Doc Comments   +5 added lines, -1 removed lines patch added patch discarded remove patch
@@ -255,6 +255,11 @@  discard block
 block discarded – undo
255 255
     	return $this->davPath . '/files/' . $user;
256 256
 	}
257 257
 
258
+	/**
259
+	 * @param string $user
260
+	 * @param string $method
261
+	 * @param string $path
262
+	 */
258 263
 	public function makeDavRequest($user, $method, $path, $headers, $body = null) {
259 264
     	$fullUrl = $this->baseUrl . $this->getDavFilesPath($user) . "$path";
260 265
 
@@ -281,7 +286,6 @@  discard block
 block discarded – undo
281 286
 
282 287
 	/**
283 288
 	 * @Given Using web as guest
284
-	 * @param string $user
285 289
 	 */
286 290
 	public function usingWebasGuest() {
287 291
 		return $this->loggingInUsingWebAs(null);
Please login to merge, or discard this patch.
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -2,8 +2,6 @@
 block discarded – undo
2 2
 require __DIR__ . '/../../vendor/autoload.php';
3 3
 
4 4
 use Behat\Behat\Context\Context;
5
-use Behat\Gherkin\Node\PyStringNode;
6
-use Behat\Gherkin\Node\TableNode;
7 5
 use GuzzleHttp\Client;
8 6
 use GuzzleHttp\Psr7\Response;
9 7
 use Sabre\DAV\Client as SabreClient;
Please login to merge, or discard this patch.
tests/features/bootstrap/UserTrait.php 2 patches
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -77,6 +77,9 @@
 block discarded – undo
77 77
 		$this->assertStatusCode($response, 200);
78 78
 	}
79 79
 
80
+	/**
81
+	 * @param string $user
82
+	 */
80 83
 	private function userExists($user) {
81 84
 		$client = new Client();
82 85
 		$options = [
Please login to merge, or discard this patch.
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -22,8 +22,6 @@
 block discarded – undo
22 22
  */
23 23
 
24 24
 use GuzzleHttp\Client;
25
-use GuzzleHttp\Cookie\CookieJar;
26
-use GuzzleHttp\Message\ResponseInterface;
27 25
 
28 26
 trait UserTrait {
29 27
 
Please login to merge, or discard this patch.