Revert change in TwoFactorAuth CleanupTest.php

Signed-off-by: Louis Chemineau <louis@chmn.me>
This commit is contained in:
Louis Chemineau 2024-03-06 16:46:35 +01:00
parent 75c489cc4b
commit 72f7b80153
No known key found for this signature in database
1 changed files with 1 additions and 6 deletions

View File

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