Merge pull request #44041 from nextcloud/artonge/revert/twofactor_cleanup_change

Revert change in TwoFactorAuth CleanupTest.php
pull/44034/head
Louis 2024-03-06 22:08:34 +07:00 committed by GitHub
commit 834f70fd7a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 6 deletions

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