diff options
author | Morris Jobke <hey@morrisjobke.de> | 2019-03-13 21:43:17 +0100 |
---|---|---|
committer | Morris Jobke <hey@morrisjobke.de> | 2019-03-14 13:39:20 +0100 |
commit | 5b4155bd12764d0ee0f0380d49b66aa9ea2c7516 (patch) | |
tree | 6b77f89268fa20a775b2d83e9747c616736aede8 /tests/Core | |
parent | 6c55e5f42da95aaba5e550317e5195b1228aae27 (diff) | |
download | nextcloud-server-5b4155bd12764d0ee0f0380d49b66aa9ea2c7516.tar.gz nextcloud-server-5b4155bd12764d0ee0f0380d49b66aa9ea2c7516.zip |
Make appstore app:enable test more robust by using only shipped apps
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
Diffstat (limited to 'tests/Core')
-rw-r--r-- | tests/Core/Command/Apps/AppsEnableTest.php | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/tests/Core/Command/Apps/AppsEnableTest.php b/tests/Core/Command/Apps/AppsEnableTest.php index bfec710f1bc..d2bda141303 100644 --- a/tests/Core/Command/Apps/AppsEnableTest.php +++ b/tests/Core/Command/Apps/AppsEnableTest.php @@ -83,11 +83,16 @@ class AppsEnableTest extends TestCase { [['comments'], ['admin'], 1, "comments can't be enabled for groups"], [['updatenotification'], ['admin'], 0, 'updatenotification enabled for groups: admin'], - [['updatenotification', 'contacts'], ['admin'], 0, "updatenotification enabled for groups: admin\ncontacts enabled for groups: admin"], +# TODO: not reliable due to dependency to appstore +# [['updatenotification', 'contacts'], ['admin'], 0, "updatenotification enabled for groups: admin\ncontacts enabled for groups: admin"], + [['updatenotification', 'accessibility'], ['admin'], 0, "updatenotification enabled for groups: admin\naccessibility enabled for groups: admin"], [['updatenotification'], ['admin', 'invalid_group'], 0, 'updatenotification enabled for groups: admin'], - [['updatenotification', 'contacts'], ['admin', 'invalid_group'], 0, "updatenotification enabled for groups: admin\ncontacts enabled for groups: admin"], - [['updatenotification', 'contacts', 'invalid_app'], ['admin', 'invalid_group'], 1, "updatenotification enabled for groups: admin\ncontacts enabled for groups: admin\nCould not download app invalid_app"], +# TODO: not reliable due to dependency to appstore +# [['updatenotification', 'contacts'], ['admin', 'invalid_group'], 0, "updatenotification enabled for groups: admin\ncontacts enabled for groups: admin"], +# [['updatenotification', 'contacts', 'invalid_app'], ['admin', 'invalid_group'], 1, "updatenotification enabled for groups: admin\ncontacts enabled for groups: admin\nCould not download app invalid_app"], + [['updatenotification', 'accessibility'], ['admin', 'invalid_group'], 0, "updatenotification enabled for groups: admin\naccessibility enabled for groups: admin"], + [['updatenotification', 'accessibility', 'invalid_app'], ['admin', 'invalid_group'], 1, "updatenotification enabled for groups: admin\naccessibility enabled for groups: admin\nCould not download app invalid_app"], ]; } } |