diff options
author | Pawel Boguslawski <pawel.boguslawski@ib.pl> | 2022-10-28 17:20:17 +0300 |
---|---|---|
committer | Pawel Boguslawski <pawel.boguslawski@ib.pl> | 2022-10-28 17:20:17 +0300 |
commit | 0baaebc69aafe8ab34025f66b02f77fa9e89759b (patch) | |
tree | 4eab0c85058ef25d2fa8ce1e7c691ad7439c32ab | |
parent | 21e05ef8a04169e180ef3e038c8636be8c32f7b0 (diff) |
CI fixes
Fixes: ef4c1f920bb841441ba68b8cae18d2b2ea735829
Related: https://github.com/nextcloud/calendar/pull/4573#issuecomment-1293498884
Author-Change-Id: IB#1126265
Signed-off-by: Pawel Boguslawski <pawel.boguslawski@ib.pl>
-rw-r--r-- | tests/javascript/unit/store/settings.test.js | 3 | ||||
-rw-r--r-- | tests/php/unit/Controller/PublicViewControllerTest.php | 3 |
2 files changed, 5 insertions, 1 deletions
diff --git a/tests/javascript/unit/store/settings.test.js b/tests/javascript/unit/store/settings.test.js index 17d88044..12d40d58 100644 --- a/tests/javascript/unit/store/settings.test.js +++ b/tests/javascript/unit/store/settings.test.js @@ -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) diff --git a/tests/php/unit/Controller/PublicViewControllerTest.php b/tests/php/unit/Controller/PublicViewControllerTest.php index 4245a331..d601f7e9 100644 --- a/tests/php/unit/Controller/PublicViewControllerTest.php +++ b/tests/php/unit/Controller/PublicViewControllerTest.php @@ -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'], |