summaryrefslogtreecommitdiffstats
path: root/apps/dav/tests/unit/Connector/PublicAuthTest.php
diff options
context:
space:
mode:
Diffstat (limited to 'apps/dav/tests/unit/Connector/PublicAuthTest.php')
-rw-r--r--apps/dav/tests/unit/Connector/PublicAuthTest.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/dav/tests/unit/Connector/PublicAuthTest.php b/apps/dav/tests/unit/Connector/PublicAuthTest.php
index d23d9743e6b..150a0fc000f 100644
--- a/apps/dav/tests/unit/Connector/PublicAuthTest.php
+++ b/apps/dav/tests/unit/Connector/PublicAuthTest.php
@@ -54,7 +54,7 @@ class PublicAuthTest extends \Test\TestCase {
/** @var string */
private $oldUser;
- protected function setUp() {
+ protected function setUp(): void {
parent::setUp();
$this->session = $this->getMockBuilder(ISession::class)
@@ -77,7 +77,7 @@ class PublicAuthTest extends \Test\TestCase {
$this->oldUser = \OC_User::getUser();
}
- protected function tearDown() {
+ protected function tearDown(): void {
\OC_User::setIncognitoMode(false);
// Set old user