Updated test to check for already enabled apps

Signed-off-by: Sander Ruitenbeek <s.ruitenbeek@getgoing.nl>
This commit is contained in:
Sander Ruitenbeek 2020-02-17 08:42:22 +00:00 committed by Christoph Wurst
parent defcbd9169
commit 3d9cd00c7b
No known key found for this signature in database
GPG key ID: CC42AC2A7F0E56D8

View file

@ -75,6 +75,7 @@ class AppsEnableTest extends TestCase {
$data = [
[['admin_audit'], null, 0, 'admin_audit enabled'],
[['comments'], null, 0, 'comments enabled'],
[['comments', 'comments'], null, 0, "comments enabled\ncomments already enabled"],
[['invalid_app'], null, 1, 'Could not download app invalid_app'],
[['admin_audit', 'comments'], null, 0, "admin_audit enabled\ncomments enabled"],