diff options
Diffstat (limited to 'tests')
-rw-r--r-- | tests/data/app/expected-info.json | 6 | ||||
-rw-r--r-- | tests/lib/Settings/ManagerTest.php | 4 |
2 files changed, 8 insertions, 2 deletions
diff --git a/tests/data/app/expected-info.json b/tests/data/app/expected-info.json index 0666b902f2c..8527f18a2c0 100644 --- a/tests/data/app/expected-info.json +++ b/tests/data/app/expected-info.json @@ -81,5 +81,11 @@ "filters": [], "settings": [], "providers": [] + }, + "settings": { + "admin": [], + "admin-section": [], + "personal": [], + "personal-section": [] } } diff --git a/tests/lib/Settings/ManagerTest.php b/tests/lib/Settings/ManagerTest.php index 6a13b737c8e..be5aad2e414 100644 --- a/tests/lib/Settings/ManagerTest.php +++ b/tests/lib/Settings/ManagerTest.php @@ -147,7 +147,7 @@ class ManagerTest extends TestCase { ->method('add'); $this->manager->setupSettings([ - $type => $className, + $type => [$className], ]); } @@ -174,7 +174,7 @@ class ManagerTest extends TestCase { ->method('update'); $this->manager->setupSettings([ - $type => 'OCA\Files\Settings\Admin', + $type => ['OCA\Files\Settings\Admin'], ]); } |