[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:
Thomas Müller 2016-08-25 07:13:48 +02:00 committed by Morris Jobke
parent 24786d5c51
commit 0c637c8d73
No known key found for this signature in database
GPG key ID: 9CE5ED29E7FCD38A
2 changed files with 8 additions and 7 deletions

View file

@ -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() {

View file

@ -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 -->