From 4b1e8a1184125aabd7cbe0d0e4ef7ee7fda7223f Mon Sep 17 00:00:00 2001 From: Joas Schilling Date: Thu, 26 May 2016 16:31:26 +0200 Subject: [PATCH] One more PSR-4 fix (#24852) --- .../TwoFactorAuth/ManagerTest.php} | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) rename tests/lib/{authentication/twofactorauth/managertest.php => Authentication/TwoFactorAuth/ManagerTest.php} (92%) diff --git a/tests/lib/authentication/twofactorauth/managertest.php b/tests/lib/Authentication/TwoFactorAuth/ManagerTest.php similarity index 92% rename from tests/lib/authentication/twofactorauth/managertest.php rename to tests/lib/Authentication/TwoFactorAuth/ManagerTest.php index 14e517b363..9a3426eda2 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() {