summaryrefslogtreecommitdiffstats
path: root/build/integration/features/bootstrap
diff options
context:
space:
mode:
authorSergio BertolĂ­n <sbertolin@solidgear.es>2016-10-04 14:51:54 +0200
committerMorris Jobke <hey@morrisjobke.de>2016-10-20 17:21:08 +0200
commit0417cbafd045b13e86c33d72f0a3fd318f97eb43 (patch)
tree02880f0b016cb1746251d481048a0b17d5b3922f /build/integration/features/bootstrap
parented4ed7911a9329462fef02c2d50709b3f092538e (diff)
downloadnextcloud-server-0417cbafd045b13e86c33d72f0a3fd318f97eb43.tar.gz
nextcloud-server-0417cbafd045b13e86c33d72f0a3fd318f97eb43.zip
Changed request to not add a prefix to the url (#26256)
* Changed request to not add a prefix to the url * Expecting forbidden instead of service unavailable * Handling login exceptions
Diffstat (limited to 'build/integration/features/bootstrap')
-rw-r--r--build/integration/features/bootstrap/BasicStructure.php9
1 files changed, 9 insertions, 0 deletions
diff --git a/build/integration/features/bootstrap/BasicStructure.php b/build/integration/features/bootstrap/BasicStructure.php
index a8438927731..2fc940981eb 100644
--- a/build/integration/features/bootstrap/BasicStructure.php
+++ b/build/integration/features/bootstrap/BasicStructure.php
@@ -179,6 +179,15 @@ trait BasicStructure {
}
}
+ /**
+ * @When /^sending "([^"]*)" with exact url to "([^"]*)"$/
+ * @param string $verb
+ * @param string $url
+ */
+ public function sendingToDirectUrl($verb, $url) {
+ $this->sendingToWithDirectUrl($verb, $url, null);
+ }
+
public function sendingToWithDirectUrl($verb, $url, $body) {
$fullUrl = substr($this->baseUrl, 0, -5) . $url;
$client = new Client();