diff options
author | Sergio Bertolin <sbertolin@solidgear.es> | 2015-12-04 14:08:16 +0000 |
---|---|---|
committer | Thomas Müller <thomas.mueller@tmit.eu> | 2015-12-11 16:20:04 +0100 |
commit | 4338a741f256a96c53aae30e495e6c5587587865 (patch) | |
tree | bb2d4df7699b89ec8adaa2014114bf1b4a8eebc7 /build/integration/capabilities_features/capabilities.feature | |
parent | aee4887224eac9cddbeb5e11990f264f084cb884 (diff) | |
download | nextcloud-server-4338a741f256a96c53aae30e495e6c5587587865.tar.gz nextcloud-server-4338a741f256a96c53aae30e495e6c5587587865.zip |
Added functionality for changing server configuration
Diffstat (limited to 'build/integration/capabilities_features/capabilities.feature')
-rw-r--r-- | build/integration/capabilities_features/capabilities.feature | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/build/integration/capabilities_features/capabilities.feature b/build/integration/capabilities_features/capabilities.feature index 6c1e727e7b3..59fb5302ac4 100644 --- a/build/integration/capabilities_features/capabilities.feature +++ b/build/integration/capabilities_features/capabilities.feature @@ -20,6 +20,25 @@ Feature: capabilities | files | undelete | 1 | | | files | versioning | 1 | | + Scenario: Changing api_enabled + Given As an "admin" + And parameter "shareapi_allow_public_upload" is set to "0" + When sending "GET" to "/cloud/capabilities" + Then the HTTP status code should be "200" + And fields of capabilities match with + | capability | feature | value_or_subfeature | value | + | core | pollinterval | 60 | | + | core | webdav-root | remote.php/webdav | | + | files_sharing | api_enabled | 1 | | + | files_sharing | public | enabled | 1 | + | files_sharing | public | upload | 0 | + | files_sharing | resharing | 1 | | + | files_sharing | federation | outgoing | 1 | + | files_sharing | federation | incoming | 1 | + | files | bigfilechunking | 1 | | + | files | undelete | 1 | | + | files | versioning | 1 | | + |