mirror of https://github.com/nextcloud/server
Revert change in TwoFactorAuth CleanupTest.php
Signed-off-by: Louis Chemineau <louis@chmn.me>
This commit is contained in:
parent
75c489cc4b
commit
72f7b80153
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue