summaryrefslogtreecommitdiffstats
path: root/tests/Core
diff options
context:
space:
mode:
authorDaniel Kesselberg <mail@danielkesselberg.de>2019-01-27 21:53:09 +0100
committerDaniel Kesselberg <mail@danielkesselberg.de>2019-02-19 21:03:06 +0100
commit75b7d6ae4e13c62cc26c47122a6913159d7f6bc8 (patch)
tree9b60bd4884805e3baf7b21578b932fceac5057c0 /tests/Core
parent76b5f44f05f3ea9f56707ed0f6c4bff2fa7673e8 (diff)
downloadnextcloud-server-75b7d6ae4e13c62cc26c47122a6913159d7f6bc8.tar.gz
nextcloud-server-75b7d6ae4e13c62cc26c47122a6913159d7f6bc8.zip
Add install logic for enable command
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
Diffstat (limited to 'tests/Core')
-rw-r--r--tests/Core/Command/Apps/AppsEnableTest.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/Core/Command/Apps/AppsEnableTest.php b/tests/Core/Command/Apps/AppsEnableTest.php
index 43f377c70a0..2d0ffd9f958 100644
--- a/tests/Core/Command/Apps/AppsEnableTest.php
+++ b/tests/Core/Command/Apps/AppsEnableTest.php
@@ -74,10 +74,10 @@ class AppsEnableTest extends TestCase {
return [
[['admin_audit'], null, 0, 'admin_audit enabled'],
[['comments'], null, 0, 'comments enabled'],
- [['invalid_app'], null, 1, 'invalid_app not found'],
+ [['invalid_app'], null, 1, 'Could not download app invalid_app'],
[['admin_audit', 'comments'], null, 0, "admin_audit enabled\ncomments enabled"],
- [['admin_audit', 'comments', 'invalid_app'], null, 1, "admin_audit enabled\ncomments enabled\ninvalid_app not found"],
+ [['admin_audit', 'comments', 'invalid_app'], null, 1, "admin_audit enabled\ncomments enabled\nCould not download app invalid_app"],
[['admin_audit'], ['admin'], 1, "admin_audit can't be enabled for groups"],
[['comments'], ['admin'], 1, "comments can't be enabled for groups"],
@@ -87,7 +87,7 @@ class AppsEnableTest extends TestCase {
[['updatenotification'], ['admin', 'invalid_group'], 0, 'updatenotification enabled for groups: admin'],
[['updatenotification', 'logreader'], ['admin', 'invalid_group'], 0, "updatenotification enabled for groups: admin\nlogreader enabled for groups: admin"],
- [['updatenotification', 'logreader', 'invalid_app'], ['admin', 'invalid_group'], 0, "updatenotification enabled for groups: admin\nlogreader enabled for groups: admin"],
+ [['updatenotification', 'logreader', 'invalid_app'], ['admin', 'invalid_group'], 1, "updatenotification enabled for groups: admin\nlogreader enabled for groups: admin\nCould not download app invalid_app"],
];
}
}