diff options
author | Joas Schilling <213943+nickvergessen@users.noreply.github.com> | 2023-01-23 07:08:02 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-01-23 07:08:02 +0100 |
commit | f99642b0bc2b3cc020c629c1ec06425acaf5ba4b (patch) | |
tree | 3db3d4a9c467dc0bc012c99e20aae15d9cb92836 /apps/dav/tests/unit/Settings | |
parent | ad5a1abfaa8a7bc82183bd79ed5bb3bc51c441ba (diff) | |
parent | 898d2923cce4e61e21a26fed06ad402452c0b3b1 (diff) | |
download | nextcloud-server-f99642b0bc2b3cc020c629c1ec06425acaf5ba4b.tar.gz nextcloud-server-f99642b0bc2b3cc020c629c1ec06425acaf5ba4b.zip |
Merge pull request #36262 from nextcloud/chore/dav/void-test-methods
chore(dav): Add void return type to test methods
Diffstat (limited to 'apps/dav/tests/unit/Settings')
-rw-r--r-- | apps/dav/tests/unit/Settings/CalDAVSettingsTest.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/apps/dav/tests/unit/Settings/CalDAVSettingsTest.php b/apps/dav/tests/unit/Settings/CalDAVSettingsTest.php index 08cc2959ef9..6bf1707c437 100644 --- a/apps/dav/tests/unit/Settings/CalDAVSettingsTest.php +++ b/apps/dav/tests/unit/Settings/CalDAVSettingsTest.php @@ -55,7 +55,7 @@ class CalDAVSettingsTest extends TestCase { $this->settings = new CalDAVSettings($this->config, $this->initialState, $this->urlGenerator); } - public function testGetForm() { + public function testGetForm(): void { $this->config->method('getAppValue') ->withConsecutive( ['dav', 'sendInvitations', 'yes'], @@ -84,11 +84,11 @@ class CalDAVSettingsTest extends TestCase { $this->assertInstanceOf(TemplateResponse::class, $result); } - public function testGetSection() { + public function testGetSection(): void { $this->assertEquals('groupware', $this->settings->getSection()); } - public function testGetPriority() { + public function testGetPriority(): void { $this->assertEquals(10, $this->settings->getPriority()); } } |