aboutsummaryrefslogtreecommitdiffstats
path: root/apps/files_sharing/tests/ExpireSharesJobTest.php
diff options
context:
space:
mode:
Diffstat (limited to 'apps/files_sharing/tests/ExpireSharesJobTest.php')
-rw-r--r--apps/files_sharing/tests/ExpireSharesJobTest.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/files_sharing/tests/ExpireSharesJobTest.php b/apps/files_sharing/tests/ExpireSharesJobTest.php
index e255f08ccf1..0f34f0785a7 100644
--- a/apps/files_sharing/tests/ExpireSharesJobTest.php
+++ b/apps/files_sharing/tests/ExpireSharesJobTest.php
@@ -55,7 +55,7 @@ class ExpireSharesJobTest extends \Test\TestCase {
*/
private $user2;
- protected function setup() {
+ protected function setUp(): void {
parent::setUp();
$this->connection = \OC::$server->getDatabaseConnection();
@@ -74,7 +74,7 @@ class ExpireSharesJobTest extends \Test\TestCase {
$this->job = new ExpireSharesJob();
}
- protected function tearDown() {
+ protected function tearDown(): void {
$this->connection->executeUpdate('DELETE FROM `*PREFIX*share`');
$userManager = \OC::$server->getUserManager();