summaryrefslogtreecommitdiffstats
path: root/build/integration/features/provisioning-v2.feature
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2017-03-20 10:44:40 +0100
committerJoas Schilling <coding@schilljs.com>2017-03-20 10:45:27 +0100
commit5cf6fc7e8dbe0d2b142953f5671ae8f7c762fccb (patch)
tree39391a874f47e48ff2e1ec483bbbd45e57602db9 /build/integration/features/provisioning-v2.feature
parent3abe86dade02a27c1e26433698ac0702d06b6704 (diff)
downloadnextcloud-server-5cf6fc7e8dbe0d2b142953f5671ae8f7c762fccb.tar.gz
nextcloud-server-5cf6fc7e8dbe0d2b142953f5671ae8f7c762fccb.zip
Add integration tests
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'build/integration/features/provisioning-v2.feature')
-rw-r--r--build/integration/features/provisioning-v2.feature12
1 files changed, 12 insertions, 0 deletions
diff --git a/build/integration/features/provisioning-v2.feature b/build/integration/features/provisioning-v2.feature
index 6140128684d..def9b376d21 100644
--- a/build/integration/features/provisioning-v2.feature
+++ b/build/integration/features/provisioning-v2.feature
@@ -7,3 +7,15 @@ Feature: provisioning
When sending "GET" to "/cloud/users/test"
Then the HTTP status code should be "404"
+ Scenario: get app info from app that does not exist
+ Given As an "admin"
+ When sending "GET" to "/cloud/apps/this_app_should_never_exist"
+ Then the OCS status code should be "998"
+ And the HTTP status code should be "404"
+
+ Scenario: enable an app that does not exist
+ Given As an "admin"
+ When sending "POST" to "/cloud/apps/this_app_should_never_exist"
+ Then the OCS status code should be "998"
+ And the HTTP status code should be "404"
+