Skip to content

Commit

Permalink
Merge pull request #44041 from nextcloud/artonge/revert/twofactor_cle…
Browse files Browse the repository at this point in the history
…anup_change

Revert change in TwoFactorAuth CleanupTest.php
  • Loading branch information
artonge authored Mar 6, 2024
2 parents 9af67c3 + 72f7b80 commit 834f70f
Showing 1 changed file with 1 addition and 6 deletions.
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

0 comments on commit 834f70f

Please sign in to comment.