Skip to content

Commit

Permalink
test: avoid deprecation warning
Browse files Browse the repository at this point in the history
"Creation of dynamic property LockFeatureTest::$shareManager is deprecate"

Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
  • Loading branch information
kesselb authored and juliushaertl committed May 2, 2024
1 parent d3b6959 commit 83cd06d
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tests/Feature/LockFeatureTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@
use OCP\Files\Lock\ILockManager;
use OCP\Files\Lock\LockContext;
use OCP\Lock\ManuallyLockedException;
use OCP\Share\IManager as IShareManager;
use OCP\Share\IShare;
use Test\TestCase;
use Test\Util\User\Dummy;
Expand All @@ -43,6 +44,8 @@ class LockFeatureTest extends TestCase {

private LockManager $lockManager;
private IRootFolder $rootFolder;
private ITimeFactory $timeFactory;
private IShareManager $shareManager;
private ?int $time = null;

public static function setUpBeforeClass(): void {
Expand Down

0 comments on commit 83cd06d

Please sign in to comment.