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

github.com/nextcloud/gallery.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOlivier Paroz <github@oparoz.com>2015-09-21 21:12:06 +0300
committerOlivier Paroz <github@oparoz.com>2015-09-21 21:12:06 +0300
commit9a5d68490b702cd2027d5d59a5f2a8117b81f912 (patch)
tree2d38d068ef701d009bd0ef3b95b9e4cf6d34b20d /tests/unit
parent4da30c0367b443c418b81e298252e8a744b5a49c (diff)
Move background colour to design section
Fixes the bug where it was impossible to get the parent folder's description
Diffstat (limited to 'tests/unit')
-rw-r--r--tests/unit/service/ConfigServiceTest.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/unit/service/ConfigServiceTest.php b/tests/unit/service/ConfigServiceTest.php
index a44e275f..1f8d9850 100644
--- a/tests/unit/service/ConfigServiceTest.php
+++ b/tests/unit/service/ConfigServiceTest.php
@@ -50,7 +50,8 @@ class ConfigServiceTest extends \Test\GalleryUnitTest {
$folder = $this->mockFolder('home::user', $nodeId, $files);
$configName = 'gallery.cnf';
$config = [];
- $configItems = ['information' => false, 'sorting' => false]; // Default in the class
+ // Default in the class
+ $configItems = ['design' => false, 'information' => false, 'sorting' => false];
$level = 0;
$configPath = 'Some/folder';
$exception = new ConfigException('Boom');