One more PSR-4 fix (#24852)

This commit is contained in:
Joas Schilling 2016-05-26 16:31:26 +02:00 committed by Thomas Müller
parent 567381e361
commit 4b1e8a1184
1 changed files with 6 additions and 6 deletions

View File

@ -27,22 +27,22 @@ use OC\Authentication\TwoFactorAuth\Manager;
class ManagerTest extends TestCase { class ManagerTest extends TestCase {
/** @var OCP\IUser */ /** @var \OCP\IUser|\PHPUnit_Framework_MockObject_MockObject */
private $user; private $user;
/** @var OC\App\AppManager */ /** @var \OC\App\AppManager|\PHPUnit_Framework_MockObject_MockObject */
private $appManager; private $appManager;
/** @var OCP\ISession */ /** @var \OCP\ISession|\PHPUnit_Framework_MockObject_MockObject */
private $session; private $session;
/** @var Manager */ /** @var Manager */
private $manager; private $manager;
/** @var \OCP\IConfig */ /** @var \OCP\IConfig|\PHPUnit_Framework_MockObject_MockObject */
private $config; private $config;
/** @var \OCP\Authentication\TwoFactorAuth\IProvider */ /** @var \OCP\Authentication\TwoFactorAuth\IProvider|\PHPUnit_Framework_MockObject_MockObject */
private $fakeProvider; private $fakeProvider;
protected function setUp() { protected function setUp() {
@ -169,7 +169,7 @@ class ManagerTest extends TestCase {
->with('two_factor_auth_uid') ->with('two_factor_auth_uid')
->will($this->returnValue(false)); ->will($this->returnValue(false));
$this->assertequals(false, $this->manager->needsSecondFactor()); $this->assertEquals(false, $this->manager->needsSecondFactor());
} }
public function testPrepareTwoFactorLogin() { public function testPrepareTwoFactorLogin() {