Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2017-10-04 17:35:10 +0300
committerJoas Schilling <coding@schilljs.com>2017-10-05 12:34:03 +0300
commit6292f665d7d10f23cedc71befb2acb2ef467870a (patch)
tree4ddfeb4df9f5f7ce0477660a4334d900ec8ac8fe /tests/lib/Settings
parent060eac40d868b55733fef0389b487ef64a211a4d (diff)
Allow multiple settings and sections per app
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'tests/lib/Settings')
-rw-r--r--tests/lib/Settings/ManagerTest.php4
1 files changed, 2 insertions, 2 deletions
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'],
]);
}