diff options
author | Joas Schilling <coding@schilljs.com> | 2016-09-05 16:00:58 +0300 |
---|---|---|
committer | Joas Schilling <coding@schilljs.com> | 2016-09-05 16:28:45 +0300 |
commit | 09e8c84e2b70c3bf07ea14a3d1a6a2b2c9ff51bb (patch) | |
tree | b50b831e532b0ae568f491e017e4d88b4617d01b /tests/Integration | |
parent | 32fa28dddbb480d0a5d86612c80178ec4ef34a8a (diff) |
Use the new OCS controller
Diffstat (limited to 'tests/Integration')
-rw-r--r-- | tests/Integration/features/bootstrap/FeatureContext.php | 4 |
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) { |