aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--tests/Core/Command/TwoFactorAuth/CleanupTest.php7
1 files changed, 1 insertions, 6 deletions
diff --git a/tests/Core/Command/TwoFactorAuth/CleanupTest.php b/tests/Core/Command/TwoFactorAuth/CleanupTest.php
index 096f7dee9f8..23461ebd784 100644
--- a/tests/Core/Command/TwoFactorAuth/CleanupTest.php
+++ b/tests/Core/Command/TwoFactorAuth/CleanupTest.php
@@ -27,7 +27,6 @@ declare(strict_types=1);
namespace Core\Command\TwoFactorAuth;
use OC\Core\Command\TwoFactorAuth\Cleanup;
-use OCA\Files_Versions\Db\VersionsMapper;
use OCP\Authentication\TwoFactorAuth\IRegistry;
use OCP\IUserManager;
use PHPUnit\Framework\MockObject\MockObject;
@@ -41,9 +40,6 @@ class CleanupTest extends TestCase {
/** @var IUserManager|MockObject */
private $userManager;
- /** @var VersionsMapper|MockObject */
- private $versionMapper;
-
/** @var CommandTester */
private $cmd;
@@ -52,9 +48,8 @@ class CleanupTest extends TestCase {
$this->registry = $this->createMock(IRegistry::class);
$this->userManager = $this->createMock(IUserManager::class);
- $this->versionMapper = $this->createMock(VersionsMapper::class);
- $cmd = new Cleanup($this->registry, $this->userManager, $this->versionMapper);
+ $cmd = new Cleanup($this->registry, $this->userManager);
$this->cmd = new CommandTester($cmd);
}