summaryrefslogtreecommitdiffstats
path: root/tests/lib/Authentication
diff options
context:
space:
mode:
authorChristoph Wurst <christoph@winzerhof-wurst.at>2016-10-03 21:47:33 +0200
committerChristoph Wurst <christoph@winzerhof-wurst.at>2016-10-03 21:47:33 +0200
commitf27b7fa8d1e5b26835546cbfcf9fff5617045f9c (patch)
treeb1c904d4d33743f39055edbff8caffd0b6137197 /tests/lib/Authentication
parent657c8da81121b272deb29a25f920280a1dc521bc (diff)
downloadnextcloud-server-f27b7fa8d1e5b26835546cbfcf9fff5617045f9c.tar.gz
nextcloud-server-f27b7fa8d1e5b26835546cbfcf9fff5617045f9c.zip
Do not use underscores in PSR4 namespaces of the backup codes app
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
Diffstat (limited to 'tests/lib/Authentication')
-rw-r--r--tests/lib/Authentication/TwoFactorAuth/ManagerTest.php5
1 files changed, 2 insertions, 3 deletions
diff --git a/tests/lib/Authentication/TwoFactorAuth/ManagerTest.php b/tests/lib/Authentication/TwoFactorAuth/ManagerTest.php
index b3fd28a30ad..72b70d817d2 100644
--- a/tests/lib/Authentication/TwoFactorAuth/ManagerTest.php
+++ b/tests/lib/Authentication/TwoFactorAuth/ManagerTest.php
@@ -26,7 +26,6 @@ use Exception;
use OC;
use OC\App\AppManager;
use OC\Authentication\TwoFactorAuth\Manager;
-use OCA\TwoFactor_BackupCodes\Provider\BackupCodesProvider;
use OCP\Authentication\TwoFactorAuth\IProvider;
use OCP\IConfig;
use OCP\ISession;
@@ -89,7 +88,7 @@ class ManagerTest extends TestCase {
$this->backupProvider->expects($this->any())
->method('isTwoFactorAuthEnabledForUser')
->will($this->returnValue(true));
- OC::$server->registerService('\OCA\TwoFactor_BackupCodes\Provider\FakeBackupCodesProvider', function () {
+ OC::$server->registerService('\OCA\TwoFactorBackupCodes\Provider\FakeBackupCodesProvider', function () {
return $this->backupProvider;
});
}
@@ -149,7 +148,7 @@ class ManagerTest extends TestCase {
[
'twofactor_backupcodes',
['two-factor-providers' => [
- '\OCA\TwoFactor_BackupCodes\Provider\FakeBackupCodesProvider',
+ '\OCA\TwoFactorBackupCodes\Provider\FakeBackupCodesProvider',
]
]
],