Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 1 addition & 6 deletions tests/Core/Command/TwoFactorAuth/CleanupTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@
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;
Expand All @@ -41,9 +40,6 @@ class CleanupTest extends TestCase {
/** @var IUserManager|MockObject */
private $userManager;

/** @var VersionsMapper|MockObject */
private $versionMapper;

/** @var CommandTester */
private $cmd;

Expand All @@ -52,9 +48,8 @@ protected function setUp(): void {

$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);
}

Expand Down