aboutsummaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorJulius Härtl <jus@bitgrid.net>2018-06-27 19:16:21 +0200
committerJulius Härtl <jus@bitgrid.net>2018-06-27 19:16:21 +0200
commitf3949cf1a81ee9f020c9cf42b0c68fda227448cf (patch)
treecbed3299cfc6ad332e2a930d490d457d89927502 /apps
parent221f558f6609cdfcb9e0bf9e89e398f5940254fe (diff)
downloadnextcloud-server-f3949cf1a81ee9f020c9cf42b0c68fda227448cf.tar.gz
nextcloud-server-f3949cf1a81ee9f020c9cf42b0c68fda227448cf.zip
Add groupware settings section
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Diffstat (limited to 'apps')
-rw-r--r--apps/dav/lib/Settings/CalDAVSettings.php4
-rw-r--r--apps/dav/tests/unit/Settings/CalDAVSettingsTest.php4
2 files changed, 4 insertions, 4 deletions
diff --git a/apps/dav/lib/Settings/CalDAVSettings.php b/apps/dav/lib/Settings/CalDAVSettings.php
index e4b4ca6452b..f38143b5b4e 100644
--- a/apps/dav/lib/Settings/CalDAVSettings.php
+++ b/apps/dav/lib/Settings/CalDAVSettings.php
@@ -57,13 +57,13 @@ class CalDAVSettings implements ISettings {
* @return string
*/
public function getSection() {
- return 'server';
+ return 'groupware';
}
/**
* @return int
*/
public function getPriority() {
- return 20;
+ return 10;
}
}
diff --git a/apps/dav/tests/unit/Settings/CalDAVSettingsTest.php b/apps/dav/tests/unit/Settings/CalDAVSettingsTest.php
index 36e2aaa9ebb..a9df63a03ab 100644
--- a/apps/dav/tests/unit/Settings/CalDAVSettingsTest.php
+++ b/apps/dav/tests/unit/Settings/CalDAVSettingsTest.php
@@ -49,10 +49,10 @@ class CalDAVSettingsTest extends TestCase {
}
public function testGetSection() {
- $this->assertEquals('server', $this->settings->getSection());
+ $this->assertEquals('groupware', $this->settings->getSection());
}
public function testGetPriority() {
- $this->assertEquals(20, $this->settings->getPriority());
+ $this->assertEquals(10, $this->settings->getPriority());
}
}