aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoas Schilling <nickvergessen@gmx.de>2016-05-26 16:31:26 +0200
committerThomas Müller <DeepDiver1975@users.noreply.github.com>2016-05-26 16:31:26 +0200
commit4b1e8a1184125aabd7cbe0d0e4ef7ee7fda7223f (patch)
tree41780ca46816d43b6cc89382fa0f3426d6814fc0
parent567381e3619507a8595d47f36930853b18d6a996 (diff)
downloadnextcloud-server-4b1e8a1184125aabd7cbe0d0e4ef7ee7fda7223f.tar.gz
nextcloud-server-4b1e8a1184125aabd7cbe0d0e4ef7ee7fda7223f.zip
One more PSR-4 fix (#24852)
-rw-r--r--tests/lib/Authentication/TwoFactorAuth/ManagerTest.php (renamed from tests/lib/authentication/twofactorauth/managertest.php)12
1 files changed, 6 insertions, 6 deletions
diff --git a/tests/lib/authentication/twofactorauth/managertest.php b/tests/lib/Authentication/TwoFactorAuth/ManagerTest.php
index 14e517b363e..9a3426eda2d 100644
--- a/tests/lib/authentication/twofactorauth/managertest.php
+++ b/tests/lib/Authentication/TwoFactorAuth/ManagerTest.php
@@ -27,22 +27,22 @@ use OC\Authentication\TwoFactorAuth\Manager;
class ManagerTest extends TestCase {
- /** @var OCP\IUser */
+ /** @var \OCP\IUser|\PHPUnit_Framework_MockObject_MockObject */
private $user;
- /** @var OC\App\AppManager */
+ /** @var \OC\App\AppManager|\PHPUnit_Framework_MockObject_MockObject */
private $appManager;
- /** @var OCP\ISession */
+ /** @var \OCP\ISession|\PHPUnit_Framework_MockObject_MockObject */
private $session;
/** @var Manager */
private $manager;
- /** @var \OCP\IConfig */
+ /** @var \OCP\IConfig|\PHPUnit_Framework_MockObject_MockObject */
private $config;
- /** @var \OCP\Authentication\TwoFactorAuth\IProvider */
+ /** @var \OCP\Authentication\TwoFactorAuth\IProvider|\PHPUnit_Framework_MockObject_MockObject */
private $fakeProvider;
protected function setUp() {
@@ -169,7 +169,7 @@ class ManagerTest extends TestCase {
->with('two_factor_auth_uid')
->will($this->returnValue(false));
- $this->assertequals(false, $this->manager->needsSecondFactor());
+ $this->assertEquals(false, $this->manager->needsSecondFactor());
}
public function testPrepareTwoFactorLogin() {