feat: add board import and export

Signed-off-by: Luka Trovic <luka@nextcloud.com>
This commit is contained in:
Luka Trovic
2025-04-01 18:54:12 +02:00
committed by Luka Trovic
parent 9f06a43d4b
commit 03cdc47540
12 changed files with 463 additions and 3 deletions

View File

@@ -36,6 +36,7 @@ class BoardControllerTest extends \Test\TestCase {
private $groupManager;
private $boardService;
private $permissionService;
private $boardImportService;
private $userId = 'user';
public function setUp(): void {
@@ -63,6 +64,10 @@ class BoardControllerTest extends \Test\TestCase {
'\OCA\Deck\Service\PermissionService')
->disableOriginalConstructor()
->getMock();
$this->boardImportService = $this->getMockBuilder(
'\OCA\Deck\Service\Importer\BoardImportService')
->disableOriginalConstructor()
->getMock();
$user = $this->createMock(IUser::class);
$this->groupManager->method('getUserGroupIds')
@@ -76,6 +81,8 @@ class BoardControllerTest extends \Test\TestCase {
$this->request,
$this->boardService,
$this->permissionService,
$this->boardImportService,
$this->l10n,
$this->userId
);
}