Skip to content

Commit

Permalink
fix(tests): Fix test selection and run unit tests of DAV and user_status
Browse files Browse the repository at this point in the history
Signed-off-by: Joas Schilling <[email protected]>
  • Loading branch information
nickvergessen authored and backportbot[bot] committed Sep 23, 2024
1 parent c15e241 commit 6fe91a5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 12 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
* 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;
Expand Down Expand Up @@ -176,10 +176,4 @@ public function testOtherAutomationsDoNotOverwriteEachOther(): void {
$this->service->findByUserId('test123')->getMessageId(),
);
}

public function testCi(): void {
// TODO: remove if CI turns red
self::assertTrue(false);
}

}
6 changes: 1 addition & 5 deletions tests/apps.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down

0 comments on commit 6fe91a5

Please sign in to comment.