diff options
author | Joas Schilling <coding@schilljs.com> | 2024-09-19 17:44:45 +0200 |
---|---|---|
committer | Joas Schilling <coding@schilljs.com> | 2024-09-19 17:44:45 +0200 |
commit | 6ad620fe2703e3d8bf1997ad3f0b9540a61e1fa5 (patch) | |
tree | 966808f821eb02046db052020ff44cae71b3aabc | |
parent | 96de697aa6fe7e75c7e311e07536cc84a29a0088 (diff) | |
download | nextcloud-server-6ad620fe2703e3d8bf1997ad3f0b9540a61e1fa5.tar.gz nextcloud-server-6ad620fe2703e3d8bf1997ad3f0b9540a61e1fa5.zip |
fix(tests): Fix test selection and run unit tests of DAV and user_status
Signed-off-by: Joas Schilling <coding@schilljs.com>
-rw-r--r-- | apps/user_status/tests/Integration/Service/StatusServiceIntegrationTest.php | 8 | ||||
-rw-r--r-- | tests/apps.php | 6 |
2 files changed, 2 insertions, 12 deletions
diff --git a/apps/user_status/tests/Integration/Service/StatusServiceIntegrationTest.php b/apps/user_status/tests/Integration/Service/StatusServiceIntegrationTest.php index 3b68806a55b..1ca9ce812bc 100644 --- a/apps/user_status/tests/Integration/Service/StatusServiceIntegrationTest.php +++ b/apps/user_status/tests/Integration/Service/StatusServiceIntegrationTest.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); - } - } diff --git a/tests/apps.php b/tests/apps.php index c2015fecda9..5e5286de404 100644 --- a/tests/apps.php +++ b/tests/apps.php @@ -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; } |