diff options
author | Joas Schilling <coding@schilljs.com> | 2017-10-04 16:35:10 +0200 |
---|---|---|
committer | Joas Schilling <coding@schilljs.com> | 2017-10-05 11:34:03 +0200 |
commit | 6292f665d7d10f23cedc71befb2acb2ef467870a (patch) | |
tree | 4ddfeb4df9f5f7ce0477660a4334d900ec8ac8fe /tests/lib | |
parent | 060eac40d868b55733fef0389b487ef64a211a4d (diff) | |
download | nextcloud-server-6292f665d7d10f23cedc71befb2acb2ef467870a.tar.gz nextcloud-server-6292f665d7d10f23cedc71befb2acb2ef467870a.zip |
Allow multiple settings and sections per app
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'tests/lib')
-rw-r--r-- | tests/lib/Settings/ManagerTest.php | 4 |
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'], ]); } |