summaryrefslogtreecommitdiffstats
path: root/build/integration/features/sharing-v1.feature
diff options
context:
space:
mode:
authorRoeland Jago Douma <roeland@famdouma.nl>2016-09-15 12:41:39 +0200
committerRoeland Jago Douma <roeland@famdouma.nl>2016-09-15 13:11:36 +0200
commite392f669c09a520e64ea82b7d22350871a05e089 (patch)
treebb720de259a9fbd6582f5b3a9426ae5894823dc5 /build/integration/features/sharing-v1.feature
parent6dace7f6adf7721ee043c3a03fc7091eb5a7e82f (diff)
downloadnextcloud-server-e392f669c09a520e64ea82b7d22350871a05e089.tar.gz
nextcloud-server-e392f669c09a520e64ea82b7d22350871a05e089.zip
Make OCS intergration tests check for CSP
* Very hacky in simple test but at least we test
Diffstat (limited to 'build/integration/features/sharing-v1.feature')
-rw-r--r--build/integration/features/sharing-v1.feature2
1 files changed, 2 insertions, 0 deletions
diff --git a/build/integration/features/sharing-v1.feature b/build/integration/features/sharing-v1.feature
index edd599da555..3c769fba3df 100644
--- a/build/integration/features/sharing-v1.feature
+++ b/build/integration/features/sharing-v1.feature
@@ -13,6 +13,8 @@ Feature: sharing
| shareType | 0 |
Then the OCS status code should be "100"
And the HTTP status code should be "200"
+ And The following headers should be set
+ | Content-Security-Policy | default-src 'none' |
Scenario: Creating a share with a group
Given user "user0" exists