[9.2] Add missing unit tests (#25936)
* Adjust unit test execution after folder rename * Adjust login controller tests to match current behavior * Fix broken unit tests
This commit is contained in:
parent
24786d5c51
commit
0c637c8d73
2 changed files with 8 additions and 7 deletions
|
@ -42,23 +42,23 @@ use OC\IntegrityCheck\Checker;
|
|||
* @package Tests\Settings\Controller
|
||||
*/
|
||||
class CheckSetupControllerTest extends TestCase {
|
||||
/** @var CheckSetupController */
|
||||
/** @var CheckSetupController | \PHPUnit_Framework_MockObject_MockObject */
|
||||
private $checkSetupController;
|
||||
/** @var IRequest */
|
||||
/** @var IRequest | \PHPUnit_Framework_MockObject_MockObject */
|
||||
private $request;
|
||||
/** @var IConfig */
|
||||
/** @var IConfig | \PHPUnit_Framework_MockObject_MockObject */
|
||||
private $config;
|
||||
/** @var IClientService */
|
||||
/** @var IClientService | \PHPUnit_Framework_MockObject_MockObject*/
|
||||
private $clientService;
|
||||
/** @var IURLGenerator */
|
||||
/** @var IURLGenerator | \PHPUnit_Framework_MockObject_MockObject */
|
||||
private $urlGenerator;
|
||||
/** @var OC_Util */
|
||||
private $util;
|
||||
/** @var IL10N */
|
||||
/** @var IL10N | \PHPUnit_Framework_MockObject_MockObject */
|
||||
private $l10n;
|
||||
/** @var ILogger */
|
||||
private $logger;
|
||||
/** @var Checker */
|
||||
/** @var Checker | \PHPUnit_Framework_MockObject_MockObject */
|
||||
private $checker;
|
||||
|
||||
public function setUp() {
|
||||
|
|
|
@ -10,6 +10,7 @@
|
|||
<directory suffix='.php'>lib/</directory>
|
||||
<directory suffix='.php'>Settings/</directory>
|
||||
<directory suffix='.php'>Core/</directory>
|
||||
<directory suffix='.php'>ocs-provider/</directory>
|
||||
<file>apps.php</file>
|
||||
</testsuite>
|
||||
<!-- filters for code coverage -->
|
||||
|
|
Loading…
Reference in a new issue