Fixes: ef4c1f920b
Related: https://github.com/nextcloud/calendar/pull/4573#issuecomment-1293498884
Author-Change-Id: IB#1126265
Signed-off-by: Pawel Boguslawski <pawel.boguslawski@ib.pl>
This commit is contained in:
Pawel Boguslawski 2022-10-28 16:20:17 +02:00
parent 21e05ef8a0
commit 0baaebc69a
2 changed files with 5 additions and 1 deletions

View File

@ -64,6 +64,7 @@ describe('store/settings test suite', () => {
timezone: 'automatic',
momentLocale: 'en',
disableAppointments: false,
canSubscribeLink: true,
})
})
@ -173,6 +174,7 @@ describe('store/settings test suite', () => {
hideEventExport: false,
forceEventAlarmType: false,
disableAppointments: false,
canSubscribeLink: true,
}
const settings = {
@ -192,6 +194,7 @@ describe('store/settings test suite', () => {
hideEventExport: false,
forceEventAlarmType: false,
disableAppointments: false,
canSubscribeLink: true,
}
settingsStore.mutations.loadSettingsFromServer(state, settings)

View File

@ -6,6 +6,7 @@ declare(strict_types=1);
*
* @author Georg Ehrke
* @copyright 2019 Georg Ehrke <oc.list@georgehrke.com>
* @copyright Copyright (c) 2022 Informatyka Boguslawski sp. z o.o. sp.k., http://www.ib.pl/
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU AFFERO GENERAL PUBLIC LICENSE
@ -64,7 +65,7 @@ class PublicViewControllerTest extends TestCase {
}
public function testPublicIndexWithBranding():void {
$this->config->expects(self::exactly(10))
$this->config->expects(self::exactly(11))
->method('getAppValue')
->willReturnMap([
['calendar', 'eventLimit', 'yes', 'no'],