@@ -20,9 +20,9 @@ |
||
| 20 | 20 | */ |
| 21 | 21 | namespace OCA\Security\Tests\Controller; |
| 22 | 22 | |
| 23 | -use OCA\Security\Controller\SettingsController; |
|
| 24 | -use OCA\Security\SecurityConfig; |
|
| 25 | -use OCP\IRequest; |
|
| 23 | +use OCA\Security\Controller\SettingsController; |
|
| 24 | +use OCA\Security\SecurityConfig; |
|
| 25 | +use OCP\IRequest; |
|
| 26 | 26 | use Test\TestCase; |
| 27 | 27 | |
| 28 | 28 | class SettingsControllerTest extends TestCase {
|
@@ -43,7 +43,7 @@ |
||
| 43 | 43 | } |
| 44 | 44 | |
| 45 | 45 | /** |
| 46 | - * @param array $mockedMethods |
|
| 46 | + * @param string[] $mockedMethods |
|
| 47 | 47 | * @return PasswordValidator | \PHPUnit_Framework_MockObject_MockObject |
| 48 | 48 | */ |
| 49 | 49 | private function getMockInstance($mockedMethods = []) {
|
@@ -19,10 +19,10 @@ |
||
| 19 | 19 | * |
| 20 | 20 | */ |
| 21 | 21 | namespace OCA\Password_Policy\Tests; |
| 22 | -use OC\HintException; |
|
| 23 | -use OCA\Security\SecurityConfig; |
|
| 24 | -use OCA\Security\PasswordValidator; |
|
| 25 | -use OCP\IL10N; |
|
| 22 | +use OC\HintException; |
|
| 23 | +use OCA\Security\SecurityConfig; |
|
| 24 | +use OCA\Security\PasswordValidator; |
|
| 25 | +use OCP\IL10N; |
|
| 26 | 26 | use Test\TestCase; |
| 27 | 27 | class PasswordValidatorTest extends TestCase {
|
| 28 | 28 | |
@@ -35,7 +35,7 @@ |
||
| 35 | 35 | } |
| 36 | 36 | |
| 37 | 37 | /** |
| 38 | - * @param array $mockedMethods |
|
| 38 | + * @param string[] $mockedMethods |
|
| 39 | 39 | * @return SecurityConfig | \PHPUnit_Framework_MockObject_MockObject |
| 40 | 40 | */ |
| 41 | 41 | private function getMockInstance($mockedMethods = []) {
|
@@ -20,8 +20,8 @@ |
||
| 20 | 20 | */ |
| 21 | 21 | namespace OCA\Security\Tests; |
| 22 | 22 | |
| 23 | -use OCA\Security\SecurityConfig; |
|
| 24 | -use OCP\IConfig; |
|
| 23 | +use OCA\Security\SecurityConfig; |
|
| 24 | +use OCP\IConfig; |
|
| 25 | 25 | use Test\TestCase; |
| 26 | 26 | class SecurityConfigTest extends TestCase {
|
| 27 | 27 | /** @var IConfig|\PHPUnit_Framework_MockObject_MockObject */ |