Browse Source
fix(tests): Fix test selection and run unit tests of DAV and user_status
Signed-off-by: Joas Schilling <coding@schilljs.com>
pull/48215/head
Joas Schilling
1 year ago
No known key found for this signature in database
GPG Key ID: F72FA5B49FFA96B0
2 changed files with
2 additions and
12 deletions
-
apps/user_status/tests/Integration/Service/StatusServiceIntegrationTest.php
-
tests/apps.php
|
|
@ -7,7 +7,7 @@ declare(strict_types=1); |
|
|
|
* SPDX-License-Identifier: AGPL-3.0-or-later |
|
|
|
*/ |
|
|
|
|
|
|
|
namespace OCA\UserStatus\Tests\Integration\BackgroundJob; |
|
|
|
namespace OCA\UserStatus\Tests\Integration\Service; |
|
|
|
|
|
|
|
use OCA\UserStatus\Service\StatusService; |
|
|
|
use OCP\AppFramework\Db\DoesNotExistException; |
|
|
@ -176,10 +176,4 @@ class StatusServiceIntegrationTest extends TestCase { |
|
|
|
$this->service->findByUserId('test123')->getMessageId(), |
|
|
|
); |
|
|
|
} |
|
|
|
|
|
|
|
public function testCi(): void { |
|
|
|
// TODO: remove if CI turns red
|
|
|
|
self::assertTrue(false); |
|
|
|
} |
|
|
|
|
|
|
|
} |
|
|
@ -6,11 +6,7 @@ |
|
|
|
*/ |
|
|
|
|
|
|
|
function loadDirectory($path): void { |
|
|
|
if (strpos($path, 'integration')) { |
|
|
|
return; |
|
|
|
} |
|
|
|
|
|
|
|
if (strpos($path, 'Integration')) { |
|
|
|
if (strpos($path, 'apps/user_ldap/tests/Integration')) { |
|
|
|
return; |
|
|
|
} |
|
|
|
|
|
|
|