diff options
Diffstat (limited to 'build/integration/features/bootstrap/CommentsContext.php')
-rw-r--r-- | build/integration/features/bootstrap/CommentsContext.php | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/build/integration/features/bootstrap/CommentsContext.php b/build/integration/features/bootstrap/CommentsContext.php index 5c3b0edafac..1d1b47f9736 100644 --- a/build/integration/features/bootstrap/CommentsContext.php +++ b/build/integration/features/bootstrap/CommentsContext.php @@ -191,6 +191,9 @@ class CommentsContext implements \Behat\Behat\Context\Context { $options['auth'] = [$user, '123456']; $fd = $body->getRowsHash(); $options['body'] = $fd; + $options['headers'] = [ + 'OCS-APIREQUEST' => 'true', + ]; $client->send($client->createRequest($verb, $this->baseUrl.'/ocs/v1.php/'.$url, $options)); } |