aboutsummaryrefslogtreecommitdiffstats
path: root/tests/lib/Lock/DBLockingProviderTest.php
diff options
context:
space:
mode:
Diffstat (limited to 'tests/lib/Lock/DBLockingProviderTest.php')
-rw-r--r--tests/lib/Lock/DBLockingProviderTest.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/lib/Lock/DBLockingProviderTest.php b/tests/lib/Lock/DBLockingProviderTest.php
index e8419815e31..b7929aee476 100644
--- a/tests/lib/Lock/DBLockingProviderTest.php
+++ b/tests/lib/Lock/DBLockingProviderTest.php
@@ -49,7 +49,7 @@ class DBLockingProviderTest extends LockingProvider {
protected $currentTime;
- public function setUp() {
+ public function setUp(): void {
$this->currentTime = time();
$this->timeFactory = $this->createMock(ITimeFactory::class);
$this->timeFactory->expects($this->any())
@@ -68,7 +68,7 @@ class DBLockingProviderTest extends LockingProvider {
return new \OC\Lock\DBLockingProvider($this->connection, \OC::$server->getLogger(), $this->timeFactory, 3600);
}
- public function tearDown() {
+ public function tearDown(): void {
$this->connection->executeQuery('DELETE FROM `*PREFIX*file_locks`');
parent::tearDown();
}