Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/notifications.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2016-09-05 16:00:58 +0300
committerJoas Schilling <coding@schilljs.com>2016-09-05 16:28:45 +0300
commit09e8c84e2b70c3bf07ea14a3d1a6a2b2c9ff51bb (patch)
treeb50b831e532b0ae568f491e017e4d88b4617d01b /tests/Integration
parent32fa28dddbb480d0a5d86612c80178ec4ef34a8a (diff)
Use the new OCS controller
Diffstat (limited to 'tests/Integration')
-rw-r--r--tests/Integration/features/bootstrap/FeatureContext.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/Integration/features/bootstrap/FeatureContext.php b/tests/Integration/features/bootstrap/FeatureContext.php
index 1e7ec4b..bac6440 100644
--- a/tests/Integration/features/bootstrap/FeatureContext.php
+++ b/tests/Integration/features/bootstrap/FeatureContext.php
@@ -319,6 +319,10 @@ class FeatureContext implements Context, SnippetAcceptingContext {
$options['body'] = $fd;
}
+ $options['headers'] = [
+ 'OCS-APIREQUEST' => 'true',
+ ];
+
try {
$this->response = $client->send($client->createRequest($verb, $fullUrl, $options));
} catch (\GuzzleHttp\Exception\ClientException $ex) {