summaryrefslogtreecommitdiffstats
path: root/apps/comments/tests/Unit/AppInfo/ApplicationTest.php
diff options
context:
space:
mode:
Diffstat (limited to 'apps/comments/tests/Unit/AppInfo/ApplicationTest.php')
-rw-r--r--apps/comments/tests/Unit/AppInfo/ApplicationTest.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/comments/tests/Unit/AppInfo/ApplicationTest.php b/apps/comments/tests/Unit/AppInfo/ApplicationTest.php
index 6ff3bc54b0d..2117b79350f 100644
--- a/apps/comments/tests/Unit/AppInfo/ApplicationTest.php
+++ b/apps/comments/tests/Unit/AppInfo/ApplicationTest.php
@@ -35,13 +35,13 @@ use Test\TestCase;
* @package OCA\Comments\Tests\Unit\AppInfo
*/
class ApplicationTest extends TestCase {
- protected function setUp() {
+ protected function setUp(): void {
parent::setUp();
\OC::$server->getUserManager()->createUser('dummy', '456');
\OC::$server->getUserSession()->setUser(\OC::$server->getUserManager()->get('dummy'));
}
- protected function tearDown() {
+ protected function tearDown(): void {
\OC::$server->getUserManager()->get('dummy')->delete();
parent::tearDown();
}